mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 12:50:54 +00:00
ci: ✨ Upload binary artifacts to release
This commit is contained in:
parent
a7497340b6
commit
8adab9f403
15
.github/workflows/cd.yaml
vendored
15
.github/workflows/cd.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user