File tree Expand file tree Collapse file tree 2 files changed +28
-13
lines changed Expand file tree Collapse file tree 2 files changed +28
-13
lines changed Original file line number Diff line number Diff line change @@ -83,28 +83,28 @@ jobs:
83
83
name : app.apk
84
84
path : app.apk
85
85
86
- upload :
86
+ release :
87
87
needs : [build-server, build-app]
88
88
runs-on : ubuntu-latest
89
89
90
90
steps :
91
+ - uses : actions/checkout@v3
92
+
91
93
- name : 📦 - Copy server artifacts
92
94
uses : actions/download-artifact@v4
93
95
with :
94
- path : .
96
+ path : artifacts/
95
97
merge-multiple : true
96
98
97
99
- name : 🧐 - Display structure of downloaded artifacts
98
- run : ls -R
100
+ run : ls -R artifacts/
99
101
100
- - name : 🌠 - Release
101
- uses : ncipollo/ release-action@v1.12.0
102
+ - name : Semantic Release
103
+ uses : cycjimmy/semantic- release-action@v4
102
104
with :
103
- artifacts : " server-*,app.apk"
104
- token : ${{ secrets.GITHUB_TOKEN }}
105
- allowUpdates : true
106
- removeArtifacts : true
107
- artifactErrorsFailBuild : true
108
- prerelease : true
109
- name : Latest Pre-release
110
- tag : latest
105
+ branches : |
106
+ [
107
+ 'main',
108
+ ]
109
+ env :
110
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins": [
3
+ "@semantic-release/commit-analyzer",
4
+ "@semantic-release/release-notes-generator",
5
+ [
6
+ "@semantic-release/github",
7
+ {
8
+ "assets": [
9
+ { "path": "artifacts/server-*" },
10
+ { "path": "artifacts/app.apk" }
11
+ ]
12
+ }
13
+ ]
14
+ ]
15
+ }
You can’t perform that action at this time.
0 commit comments