From db0ff4ec1b85a48b3aec2c1ce8bb73d74960b3ef Mon Sep 17 00:00:00 2001 From: Chielo Newctle Date: Tue, 7 Nov 2023 16:08:10 +0800 Subject: [PATCH] chore(ci): update ci --- .github/workflows/ci.yml | 2 +- .github/workflows/release-plz.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab9ae6c..011a520 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: fetch-depth: 0 - run: rustup update stable && rustup default stable - run: rustup component add rustfmt - - run: cargo fmt --all -- --check + - run: cargo fmt --all --check build_docs: name: Docs diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 8741180..186b819 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -14,6 +14,7 @@ jobs: release-plz: name: Release-plz runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout repository uses: actions/checkout@v4