Skip to content

Commit

Permalink
Fix warnings release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Aug 9, 2024
1 parent 7fd1b33 commit f9b7bad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,17 @@ jobs:
cp ./cmd/postcli/README.md ./build/
- name: Set name of release archive
shell: bash
id: release-name
run: |
if [[ ${{ runner.arch }} == "ARM64" ]]; then
echo "OUTNAME=${{ runner.os }}_${{ runner.arch }}" >> $GITHUB_ENV
echo "name=${{ runner.os }}_${{ runner.arch }}" >> "$GITHUB_OUTPUT"
else
echo "OUTNAME=${{ runner.os }}" >> $GITHUB_ENV
echo "name=${{ runner.os }}" >> "$GITHUB_OUTPUT"
fi
- name: Archive postcli artifacts
uses: actions/upload-artifact@v4
with:
name: postcli-${{ env.OUTNAME }}.zip
name: postcli-${{ steps.release-name.outputs.name }}.zip
path: ./build/*
if-no-files-found: error

Expand Down

0 comments on commit f9b7bad

Please sign in to comment.