From d46e7d5460b8af1b1d133f0eae5a2954a97bf896 Mon Sep 17 00:00:00 2001 From: praydog Date: Tue, 30 Jan 2024 23:24:08 -0800 Subject: [PATCH] CI: Fix nightly release name --- .github/workflows/dev-release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index c9bd30a62..c2235fd21 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -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/action-gh-release@v0.1.13 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