ci: Upload binary artifacts to release

This commit is contained in:
Sergio Gasquez 2022-11-04 11:09:47 +01:00
parent a7497340b6
commit 8adab9f403

View File

@ -52,14 +52,23 @@ jobs:
if: ${{ matrix.job.os == 'windows-latest' }}
run: Compress-Archive target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }} espup-${{ matrix.job.target }}.zip
- uses: svenstaro/upload-release-action@v2
- name: Upload compressed artifact
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: espup-${{ matrix.job.target }}.zip
tag: ${{ github.ref }}
# publish-cargo:
# name: Publishing to Cargo
- name: Upload binary artifact
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: espup-${{ matrix.job.target }}.zip
asset_name: espup-${{ matrix.job.target }}${{ matrix.job.binary-postfix }}
tag: ${{ github.ref }}
# publish-cratesio:
# name: Publishing to Crates.io
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository