Skip to content

Commit

Permalink
CI: Fix nightly release name
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jan 31, 2024
1 parent 0341611 commit d46e7d5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,12 @@ jobs:
7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/scripts
7z rn ${{github.workspace}}/${{matrix.target}}.zip scripts reframework/autorun
- name: Set output
id: vars
run: echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Release
if: github.ref == 'refs/heads/master'
uses: softprops/[email protected]
with:
repository: praydog/REFramework-nightly
token: ${{secrets.REPO_TOKEN}}
name: ${{format('v1.{0}-{1}', github.run_number, steps.vars.outputs.SHA_SHORT)}}
name: ${{format('REF Nightly {0} ({1})', github.run_number, github.sha)}}
tag_name: latest
files: ${{github.workspace}}/${{matrix.target}}.zip

0 comments on commit d46e7d5

Please sign in to comment.