From 57169d7236ea415dd159ec24697daa3e20714437 Mon Sep 17 00:00:00 2001 From: Dmytro Stebaiev Date: Fri, 15 Mar 2024 18:18:22 +0200 Subject: [PATCH] Fix calculate version script path --- .github/workflows/publish.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7668d46b9..53bbb7f52 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -61,7 +61,7 @@ jobs: run: | export BRANCH=${GITHUB_REF##*/} echo "Branch $BRANCH" - export VERSION=$(bash ./scripts/calculate_version.sh) + export VERSION=$(bash ../scripts/calculate_version.sh) echo "VERSION=$VERSION" >> $GITHUB_ENV echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "Version $VERSION" @@ -100,7 +100,8 @@ jobs: mkdir data python scripts/generate_abi.py > data/ima-$VERSION-predeployed-abi.json - - uses: actions/upload-artifact@v4 + - name: Store artifacts + uses: actions/upload-artifact@v4 with: path: data @@ -124,10 +125,6 @@ jobs: needs: build - defaults: - run: - working-directory: typescript/ethers-v5 - env: VERSION: ${{ needs.build.outputs.version }} @@ -136,7 +133,8 @@ jobs: with: ref: abi - - uses: actions/download-artifact@v4 + - name: Load artifacts + uses: actions/download-artifact@v4 - name: Commit ABI uses: EndBug/add-and-commit@v9