File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99 contents : write
1010
1111jobs :
12- release :
12+ build :
1313 runs-on : ${{ matrix.os }}
1414
1515 strategy :
3030
3131 - name : Build application
3232 run : npm run dist
33- env :
34- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3533
3634 - name : Upload artifacts (macOS)
3735 if : matrix.os == 'macos-latest'
@@ -51,14 +49,23 @@ jobs:
5149 dist/*.AppImage
5250 dist/*.deb
5351
54- - name : Release
52+ release :
53+ needs : build
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Download all artifacts
57+ uses : actions/download-artifact@v4
58+ with :
59+ path : artifacts
60+
61+ - name : Display structure of downloaded files
62+ run : ls -R artifacts
63+
64+ - name : Create Release
5565 uses : softprops/action-gh-release@v2
56- if : startsWith(github.ref, 'refs/tags/')
5766 with :
5867 files : |
59- dist/*.dmg
60- dist/*.zip
61- dist/*.AppImage
62- dist/*.deb
68+ artifacts/macos-build/*
69+ artifacts/linux-build/*
6370 env :
6471 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments