diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index ffb4ec3..dfbce87 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -24,10 +24,11 @@ jobs: id: versions_step run: | version_tag=$(node ./.github/scripts/fetchRelease.js) + echo "::set-output name=version_tag::$version_tag" echo "Output from Node.js script: $version_tag" - name: Check and update tutorials - run: sudo chown $USER ./src && bash ./update_contract.sh $version_tag + run: sudo chown $USER ./src && bash ./update_contract.sh ${{ steps.versions_step.outputs.version_tag }} - name: Commit and push changes run: |