From 94cb10791593a2f8be6be0c0c08304cf9962726a Mon Sep 17 00:00:00 2001 From: azzamsa Date: Tue, 18 Jun 2024 09:45:37 +0700 Subject: [PATCH] ci: update --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1065b45..c6c780f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # it is a must! fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: git checkout v${{ env.RELEASE_VERSION }} - name: Generate a changelog - uses: orhun/git-cliff-action@v2 + uses: orhun/git-cliff-action@v3 id: git-cliff with: config: configs/cliff.toml @@ -44,7 +44,7 @@ jobs: run: cat "${{ steps.git-cliff.outputs.changelog }}" - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: token: ${{ secrets.GH_TOKEN }} name: "v${{ env.RELEASE_VERSION }}" @@ -68,7 +68,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set the release version shell: bash @@ -83,8 +83,7 @@ jobs: sudo apt-get install -y --no-install-recommends \ --allow-unauthenticated musl-tools - - name: Install Rust - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: target: ${{ matrix.target }} @@ -113,7 +112,7 @@ jobs: fi - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: token: ${{ secrets.GH_TOKEN }} name: "v${{ env.RELEASE_VERSION }}"