mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-30 06:10:37 +00:00
ci: 🚧 Comment publish to crates.io step
This commit is contained in:
parent
5040e11a30
commit
58caf5e9b9
30
.github/workflows/cd.yaml
vendored
30
.github/workflows/cd.yaml
vendored
@ -63,18 +63,18 @@ jobs:
|
|||||||
file: target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }}
|
file: target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }}
|
||||||
asset_name: espup-${{ matrix.job.target }}${{ matrix.job.binary-postfix }}
|
asset_name: espup-${{ matrix.job.target }}${{ matrix.job.binary-postfix }}
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
publish-cratesio:
|
# publish-cratesio:
|
||||||
name: Publishing to Crates.io
|
# name: Publishing to Crates.io
|
||||||
needs: publish-release
|
# needs: publish-release
|
||||||
runs-on: ubuntu-20.04
|
# runs-on: ubuntu-20.04
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout repository
|
# - name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Install Rust toolchain
|
# - name: Install Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@v1
|
# uses: dtolnay/rust-toolchain@v1
|
||||||
with:
|
# with:
|
||||||
toolchain: stable
|
# toolchain: stable
|
||||||
- name: Enable caching
|
# - name: Enable caching
|
||||||
uses: Swatinem/rust-cache@v2
|
# uses: Swatinem/rust-cache@v2
|
||||||
- name: Cargo publish
|
# - name: Cargo publish
|
||||||
run: cargo publish --token ${{ secrets.CARGO_API_KEY }}
|
# run: cargo publish --token ${{ secrets.CARGO_API_KEY }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user