Skip to content

Commit

Permalink
Fix calculate version script path
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Mar 15, 2024
1 parent 9e9a0ee commit 57169d7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand All @@ -124,10 +125,6 @@ jobs:
needs:
build

defaults:
run:
working-directory: typescript/ethers-v5

env:
VERSION: ${{ needs.build.outputs.version }}

Expand All @@ -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
Expand Down

0 comments on commit 57169d7

Please sign in to comment.