From ae0373f48046a07a8d34b6adad06e2e1ea0e796e Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Sat, 12 Dec 2020 21:53:07 +0100 Subject: [PATCH] Fixed error in release.yml --- .github/workflows/release.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0682bd..3958811 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,12 +11,16 @@ env: jobs: publish: - - uses: Swatinem/rust-cache@v1.0.1 - - name: Publish crate - continue-on-error: true - run: cargo publish --manifest-path kalk/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose - - name: Publish CLI - run: sleep 20 && cargo publish --manifest-path kalk_cli/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose + name: publish to crates.io + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: Swatinem/rust-cache@v1.0.1 + - name: Publish crate + continue-on-error: true + run: cargo publish --manifest-path kalk/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose + - name: Publish CLI + run: sleep 20 && cargo publish --manifest-path kalk_cli/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose release_linux: name: release linux