From ecf476f5ca38582185f32b247ce2aaf153d5de4f Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Sat, 27 Aug 2022 13:19:15 -0600 Subject: [PATCH] ci: Install Knope via action instead of building from source. --- .github/workflows/release-dry-run.yml | 10 ++-------- .github/workflows/release.yml | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml index df9323dec..854dfcfd1 100644 --- a/.github/workflows/release-dry-run.yml +++ b/.github/workflows/release-dry-run.yml @@ -13,14 +13,8 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.PAT }} - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - - uses: Swatinem/rust-cache@v1 - name: Install Knope - uses: actions-rs/cargo@v1 + uses: knope-dev/action@v1 with: - command: install - args: knope + version: 0.4.3 - run: knope release --dry-run \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e8c4b8c7..2fad25086 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,16 +17,10 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true git_push_gpgsign: false - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - - uses: Swatinem/rust-cache@v1 - name: Install Knope - uses: actions-rs/cargo@v1 + uses: knope-dev/action@v1 with: - command: install - args: knope + version: 0.4.3 - name: Bump Version & Create GitHub Release run: knope release env: