File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,28 +83,28 @@ jobs:
8383 name : app.apk
8484 path : app.apk
8585
86- upload :
86+ release :
8787 needs : [build-server, build-app]
8888 runs-on : ubuntu-latest
8989
9090 steps :
91+ - uses : actions/checkout@v3
92+
9193 - name : 📦 - Copy server artifacts
9294 uses : actions/download-artifact@v4
9395 with :
94- path : .
96+ path : artifacts/
9597 merge-multiple : true
9698
9799 - name : 🧐 - Display structure of downloaded artifacts
98- run : ls -R
100+ run : ls -R artifacts/
99101
100- - name : 🌠 - Release
101- uses : ncipollo/ release-action@v1.12.0
102+ - name : Semantic Release
103+ uses : cycjimmy/semantic- release-action@v4
102104 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