Skip to content

Commit

Permalink
fix action output name
Browse files Browse the repository at this point in the history
  • Loading branch information
csc530 committed Aug 1, 2024
1 parent d973e95 commit ca51acb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/generate_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ on:
jobs:

setup-environment:
name: Setup Environment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -42,6 +43,7 @@ jobs:
tag: ${{ inputs.tag || github.ref_name }}
needs: setup-environment
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
steps:
Expand All @@ -67,13 +69,13 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}_resumer_${{ github.ref_name }}
path: ${{ matrix.os }}_resumer_${{ github.ref_name }}.zip
name: ${{ matrix.os }}_resumer_${{ env.tag }}
path: ${{ matrix.os }}_resumer_${{ env.tag }}.zip

- name: Set Output
id: set-output
run: |
echo "assets+=(${{ github.workspace }}/${{ matrix.os }}_resumer_${{ github.ref_name }}.zip)" >> $GITHUB_OUTPUT
echo "assets=${{ matrix.os }}_resumer_${{ env.tag }}.zip" >> $GITHUB_OUTPUT
outputs:
assets: ${{ steps.set-output.outputs.assets }}

0 comments on commit ca51acb

Please sign in to comment.