File tree Expand file tree Collapse file tree 3 files changed +80
-0
lines changed
Expand file tree Collapse file tree 3 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ ### Platforms
2+ #### Android
3+ * File: app-release.apk
4+ * Google Play: mdns
5+ #### iOS
6+ * File: ios-release.zip
7+ #### Windows
8+ * File: windows-release.zip
9+ * Microsoft Store: mdns
10+ #### macOS
11+ * File: mdns.dmg
12+ * App Store: mdns
13+ #### Linux
14+ * File: linux-release.zip
15+ * Snapcraft(Ubuntu) Store: mdns
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ linux :
13+ name : Linux
14+ runs-on : ubuntu-latest
15+ env :
16+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Install snapcraft
20+ run : |
21+ sudo snap install snapcraft --classic
22+ - run : hash -r
23+ - name : Setup LXD
24+ uses : canonical/setup-lxd@v0.1.1
25+ with :
26+ channel : latest/stable
27+ - name : run snapcraft
28+ run : |
29+ snapcraft --use-lxd
30+ - run : snapcraft upload --release=stable *.snap
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ env :
10+ project-id : codes.merritt.FeelingFinder
11+
12+ jobs :
13+ linux :
14+ name : Linux
15+ runs-on : ubuntu-22.04
16+ env :
17+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
18+ steps :
19+ - uses : actions/checkout@v4
20+ - name : Install snapcraft
21+ run : |
22+ sudo snap install snapcraft --classic
23+ - run : hash -r
24+ - name : Setup LXD
25+ uses : canonical/setup-lxd@v0.1.1
26+ with :
27+ channel : latest/stable
28+ - name : run snapcraft
29+ run : |
30+ snapcraft --use-lxd
31+ - run : ls -a
32+ - uses : actions/upload-artifact@v4
33+ with :
34+ name : onvif_1.0.0_amd64.snap
35+ path : ./onvif_1.0.0_amd64.snap
You can’t perform that action at this time.
0 commit comments