artifacts upload options added to github workflows

This commit is contained in:
sreedev
2023-01-23 02:39:37 -05:00
parent 02f70aa55f
commit 96337b6b48

View File

@@ -21,10 +21,17 @@ jobs:
archive: zip
steps:
- uses: actions/checkout@master
- name: Compile and release
- name: Compile
uses: rust-build/rust-build.action@v1.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Binary
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}