From da287e7da4bf584b7b49f8540f6105908fdaf896 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Tue, 21 Feb 2023 15:04:21 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20=E2=9A=A1=EF=B8=8F=20Uncomment=20publish?= =?UTF-8?q?=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index e7058f0c..110fcf46 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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 }}