From ca8d28832fefafc29801bfb5fdaf76e5e468c109 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Tue, 24 Sep 2024 13:40:28 +0000 Subject: [PATCH] update publish-action --- .github/workflows/publish.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49d49f0..c82d648 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,24 +16,12 @@ jobs: steps: - 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@v3 - 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 + # get git tags info + fetch-depth: 0 + + - name: Run publish-action + uses: tu6ge/publish-action@0.4.5 env: # This can help you tagging the github repository GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}