From 7e1ede6a32839ea28833df83d36237abc3f8bade Mon Sep 17 00:00:00 2001 From: tu6ge Date: Thu, 26 Sep 2024 08:41:34 +0800 Subject: [PATCH] chore: upgrade publish-action to v0.4.5 --- .github/workflows/publish.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index caa500a..ad1b056 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,23 +17,8 @@ jobs: - name: checkout uses: actions/checkout@master - # Use caching to speed up your build - - name: Cache publish-action bin - id: cache-publish-action - uses: actions/cache@v4 - env: - cache-name: cache-publish-action - with: - path: ~/.cargo - key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.1.13 - - # install publish-action by cargo in github action - - name: Install publish-action - if: steps.cache-publish-action.outputs.cache-hit != 'true' - run: cargo install publish-action --version=0.1.13 - - - name: Publish to cargo - run: publish-action + - name: Run publish-action + uses: tu6ge/publish-action@v0.4.5 env: # This can help you tagging the github repository GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}