Skip to content

Commit

Permalink
Attempt live test
Browse files Browse the repository at this point in the history
  • Loading branch information
JMicheli committed Jul 19, 2024
1 parent c9775a6 commit a975948
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
version:
description: Enter the release version (e.g., 0.1.0)
required: true
push:
branches:
- binary-release

jobs:
# This job builds the binaries for each release
Expand All @@ -17,7 +20,7 @@ jobs:
include:
- os: ubuntu-latest
artifact_name: linux-artifact
artifact_filename: stump_server.o
artifact_filename: stump_server
- os: windows-latest
artifact_name: windows-artifact
artifact_filename: stump_server.exe
Expand Down Expand Up @@ -69,10 +72,10 @@ jobs:
- name: Create release and upload artifacts
run: |
gh auth login --with-token ${{ github.token }}
gh release create v${{github.event.inputs.version}} \
gh release create v${{ github.event.inputs.version || '0.0.test' }} \
--draft \
--target main \
--title 'Release ${{ github.event.inputs.version }}' \
--target binary-release \
--title 'Release ${{ github.event.inputs.version || '0.0.test' }}' \
--generate-notes \
linux-build-results.zip#StumpServer-${{ github.event.inputs.version }}-x64-Linux.zip \
windows-build-results.zip#StumpServer-${{ github.event.inputs.version }}-x64-Windows.zip
linux-build-results.zip#StumpServer-${{ github.event.inputs.version || '0.0.test' }}-x64-Linux.zip \
windows-build-results.zip#StumpServer-${{ github.event.inputs.version || '0.0.test' }}-x64-Windows.zip

0 comments on commit a975948

Please sign in to comment.