We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9d637d commit e970ae6Copy full SHA for e970ae6
1 file changed
.github/workflows/build.yaml
@@ -40,3 +40,25 @@ jobs:
40
with:
41
name: ${{ matrix.os }}-installer
42
path: dist/*
43
+
44
+release:
45
+ name: Create GitHub Release
46
+ needs: build # Only runs if both builds finish successfully
47
+ if: startsWith(github.ref, 'refs/tags/') # Only runs on tag pushes
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - name: Download all artifacts
51
+ uses: actions/download-artifact@v4
52
+ with:
53
+ path: artifacts
54
+ merge-multiple: true
55
56
+ - name: Create Release
57
+ uses: softprops/action-gh-release@v2
58
59
+ files: |
60
+ artifacts/*.dmg
61
+ artifacts/*.deb
62
+ body: "Automatic build of ${{ github.ref_name }}"
63
+ env:
64
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments