From 4d51a331e09ac466d79482553b0f6b8bdfd0f937 Mon Sep 17 00:00:00 2001 From: rsteube Date: Sun, 15 Sep 2024 13:59:38 +0200 Subject: [PATCH] fix release --- .github/workflows/rust.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 15509e8..f29e78b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,10 +14,10 @@ jobs: steps: - name: shallow clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: deep clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: startsWith(github.ref, 'refs/tags/v') with: fetch-depth: 0 @@ -33,7 +33,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -41,4 +41,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') run: sed -i "s_0.1.0-PLACEHOLDER_${GITHUB_REF/refs\/tags\/v/}_" Cargo.toml && cargo publish --token ${CRATES_TOKEN} --allow-dirty env: - CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} \ No newline at end of file + CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}