Skip to content

Commit

Permalink
ci: ⚡️ Uncomment publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 21, 2023
1 parent ee446e4 commit da287e7
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ jobs:
file: target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }}
asset_name: espup-${{ matrix.job.target }}${{ matrix.job.binary-postfix }}
tag: ${{ github.ref }}
# publish-cratesio:
# name: Publishing to Crates.io
# needs: publish-release
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@v1
# with:
# toolchain: stable
# - name: Enable caching
# uses: Swatinem/rust-cache@v2
# - name: Cargo publish
# run: cargo publish --token ${{ secrets.CARGO_API_KEY }}
publish-cratesio:
name: Publishing to Crates.io
needs: publish-release
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- name: Enable caching
uses: Swatinem/rust-cache@v2
- name: Cargo publish
run: cargo publish --token ${{ secrets.CARGO_API_KEY }}

0 comments on commit da287e7

Please sign in to comment.