We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10caacf commit df303fbCopy full SHA for df303fb
.github/workflows/build.yml
@@ -37,7 +37,7 @@ jobs:
37
# Build for Windows without publishing
38
npx electron-builder --win nsis -p never
39
env:
40
- GH_TOKEN: ${{ secrets.GH_TOKEN }} # Use your GitHub token with write permissions
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
41
42
- name: Upload Release Assets
43
uses: ncipollo/release-action@v1
@@ -46,8 +46,8 @@ jobs:
46
name: 'TheCyberHUB Desktop Release v${{ github.run_number }}'
47
artifacts: |
48
dist/*.exe
49
- env:
50
- GH_TOKEN: ${{ secrets.GH_TOKEN }} # Ensure this token has the necessary permissions
+ token: ${{ secrets.GH_TOKEN }} # Use your PAT here
+ skipIfReleaseExists: true # Skip if the release already exists
51
52
# Optional: Clean up after the build
53
- name: Cleanup
0 commit comments