File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build Native Installers
33on :
44 push :
55 branches : [ "main" ]
6- tags : [ "v*" ] # This ensures the workflow triggers when you push a tag
6+ tags : [ "v*" ]
77 pull_request :
88 branches : [ "main" ]
99
2121 uses : actions/checkout@v4
2222
2323 - name : Set up JDK 25
24- uses : uses: actions/setup-java@v4
24+ uses : actions/setup-java@v4
2525 with :
2626 java-version : ' 25'
2727 distribution : ' oracle'
@@ -41,12 +41,13 @@ jobs:
4141 name : ${{ matrix.os }}-installer
4242 path : dist/
4343
44- # This must be aligned exactly with "build:"
4544 release :
4645 name : Create GitHub Release
4746 needs : build
4847 if : startsWith(github.ref, 'refs/tags/')
4948 runs-on : ubuntu-latest
49+ permissions :
50+ contents : write # Important: Gives the action permission to upload files
5051 steps :
5152 - name : Download all artifacts
5253 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments