Skip to content

Commit

Permalink
Use upload-artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
aosasona committed Feb 22, 2024
1 parent 869c79d commit 33d8112
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
shell: bash
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Build
- name: Build binaries
uses: actions-rs/cargo@v1
with:
use-cross: true
Expand All @@ -73,11 +73,11 @@ jobs:
echo "ASSET=$dirname.zip" >> $GITHUB_ENV
else
tar -czf "$dirname.tar.gz" "$dirname"
echo "ASSET=$dirname.tar.gz" >> $GITHUB_ENV
echo "ASSET=$dirname.tar.gz" >> $GITHUB_OUTPUT
fi
- name: Upload the archives
uses: softprops/action-gh-release@v1
- name: Upload archives
uses: actions/upload-artifact@master
with:
files: |
${{ env.ASSET }}
name: ${{ steps.package.outputs.ASSET }}
path: ${{ steps.package.outputs.ASSET }}

0 comments on commit 33d8112

Please sign in to comment.