mirror of
https://github.com/esp-rs/espup.git
synced 2025-10-02 15:14:56 +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' }}
|
if: ${{ matrix.job.os == 'windows-latest' }}
|
||||||
run: Compress-Archive target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }} espup-${{ matrix.job.target }}.zip
|
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:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: espup-${{ matrix.job.target }}.zip
|
file: espup-${{ matrix.job.target }}.zip
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
|
||||||
# publish-cargo:
|
- name: Upload binary artifact
|
||||||
# name: Publishing to Cargo
|
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
|
# runs-on: ubuntu-latest
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Checkout repository
|
# - name: Checkout repository
|
||||||
|
Loading…
x
Reference in New Issue
Block a user