From 010e82a8783339a4e17007bc3c51273faa86890d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Mlinari=C4=87?= <35880252+nmlinaric@users.noreply.github.com> Date: Mon, 6 Mar 2023 19:09:49 +0100 Subject: [PATCH] fix: remove redundant release (#152) --- .github/workflows/publish-contracts.yml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/publish-contracts.yml b/.github/workflows/publish-contracts.yml index 97acb95f..544a55bd 100644 --- a/.github/workflows/publish-contracts.yml +++ b/.github/workflows/publish-contracts.yml @@ -15,8 +15,8 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v3 with: - node-version: '16' - registry-url: 'https://registry.npmjs.org' + node-version: "16" + registry-url: "https://registry.npmjs.org" - name: Install dependencies run: yarn install --frozen-lockfile --non-interactive --ignore-optional @@ -69,23 +69,3 @@ jobs: run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref_name }} - release_name: ${{ github.ref_name }} - - #in case of failure - - name: Rollback on failure - if: failure() - uses: author/action-rollback@9ec72a6af74774e00343c6de3e946b0901c23013 - with: - id: ${{ steps.create_release.outputs.id }} - tag: ${{ github.ref_name }} - delete_orphan_tag: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}