File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Flutter build for linux
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Install build dependences
17
+ run : sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
18
+
19
+ - name : Set up Flutter
20
+ uses : subosito/flutter-action@v2
21
+ with :
22
+ flutter-version : ' 3.13.9'
23
+
24
+ - name : Install dependencies
25
+ run : flutter pub get
26
+
27
+ - name : Build Linux application
28
+ run : flutter build linux
29
+
30
+ - name : Archive artifacts
31
+ uses : actions/upload-artifact@v2
32
+ with :
33
+ name : nordvpn-client
34
+ path : build/linux/x64/release/bundle
Original file line number Diff line number Diff line change @@ -54,11 +54,15 @@ As the project is only supported on linux, use the command
54
54
This will create the following directories
55
55
` build/linux/[arch]/release/bundle `
56
56
57
+ You may need to provide executeable permissions
58
+ ` chmod +x nordvpn_client `
59
+
57
60
The bundle directory requires everything needed to run the project, cd into it and run
58
61
` ./nordvpn_client `
59
62
60
63
## Contributions
61
- Contributions of all kind are welcome, please create an issue if one does not already exist.
64
+ Contributions of all kind are welcome, please create an issue if one does not already exist.
65
+ The project uses [ semantic versioning] ( https://semver.org/ ) .
62
66
63
67
## License
64
- The project is licensed under the [ MIT License] ( LICENSE.md ) .
68
+ The project is licensed under the [ MIT License] ( LICENSE.md ) .
You can’t perform that action at this time.
0 commit comments