From b96a5f79a4826abc15a93db5b45747f2a84ddd6d Mon Sep 17 00:00:00 2001 From: Andy Wu Date: Thu, 25 Apr 2024 20:09:31 -0700 Subject: [PATCH] Update publish-package.yaml (#158) --- .github/workflows/publish-package.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml index 8a912138..d502c946 100644 --- a/.github/workflows/publish-package.yaml +++ b/.github/workflows/publish-package.yaml @@ -101,23 +101,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - test_push_tag: - needs: [print_version_to_publish, fetch_latest_version, fail_if_version_is_same] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - - name: Push tag - run: | - VERSION=${{ needs.print_version_to_publish.outputs.version_to_be_published }} - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git tag -a v$VERSION -m "Release v$VERSION" - git push origin v$VERSION - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - create_release: needs: [print_version_to_publish, fetch_latest_version, fail_if_version_is_same] # Skip this job if the version to be published is the same as the latest version on NPM