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 6, 2024
1 parent 572a81a commit 0434425
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 @@ -140,16 +140,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 0434425

Please sign in to comment.