From 8cf1ab28915cc92980dc07792cfb7cc94918d24b Mon Sep 17 00:00:00 2001 From: Vasyl Ivanchuk Date: Wed, 20 Sep 2023 20:46:40 +0300 Subject: [PATCH] fix: release action (#10) --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0a2a59b11..8bfdf53b73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,8 +110,8 @@ jobs: deployFrontendToStaging: name: Deploy Block Explorer frontend to staging runs-on: ubuntu-latest - needs: publish - if: ${{ github.ref == 'refs/heads/main' && needs.publish.outputs.releaseVersion != '' }} + needs: createReleaseVersion + if: ${{ github.ref == 'refs/heads/main' && needs.createReleaseVersion.outputs.releaseVersion != '' }} steps: - name: Checkout uses: actions/checkout@v3 @@ -121,7 +121,7 @@ jobs: - name: Download Dist package uses: dsaltares/fetch-gh-release-asset@master with: - version: "tags/v${{ needs.publish.outputs.releaseVersion }}" + version: "tags/v${{ needs.createReleaseVersion.outputs.releaseVersion }}" file: "dist.zip" target: "dist.zip" token: ${{ secrets.GITHUB_TOKEN }} @@ -137,7 +137,7 @@ jobs: - name: Download Storybook package uses: dsaltares/fetch-gh-release-asset@master with: - version: "tags/v${{ needs.publish.outputs.releaseVersion }}" + version: "tags/v${{ needs.createReleaseVersion.outputs.releaseVersion }}" file: "storybook-static.zip" target: "storybook-static.zip" token: ${{ secrets.GITHUB_TOKEN }}