1
0
mirror of synced 2025-01-31 12:03:42 +01:00

Update ci.yml

This commit is contained in:
Bobby Dilley 2025-01-16 10:36:59 +00:00 committed by GitHub
parent a3d476c584
commit 5f90591690
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,8 +47,9 @@ jobs:
name: build-output
path: ./build
# Create a GitHub release and capture the upload URL
# Create a GitHub release and capture the upload URL (only on push events)
- name: Create Release
if: github.event_name == 'push'
id: create_release
uses: actions/create-release@v1
env:
@ -59,8 +60,9 @@ jobs:
draft: false
prerelease: false
# Upload the compressed build artifact to the release
# Upload the compressed build artifact to the release (only on push events)
- name: Upload Release Asset
if: github.event_name == 'push'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}