Skip to content

Commit

Permalink
bump optimizer back to 0.15.1 and fix compile script name
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed May 28, 2024
1 parent 330fb24 commit 13b35a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
release-artifacts:
runs-on: ubuntu-latest
container: cosmwasm/workspace-optimizer:0.14.0
container: cosmwasm/workspace-optimizer:0.15.1
steps:
- uses: actions/checkout@v3

Expand All @@ -33,7 +33,7 @@ jobs:

- name: Compile contracts
timeout-minutes: 30
run: optimize_workspace.sh .
run: optimize.sh .

- name: Upload contracts
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions devtools/optimize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ if [[ $(uname -m) =~ "arm64" ]]; then \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/arm64 \
cosmwasm/workspace-optimizer-arm64:0.14.0
cosmwasm/workspace-optimizer-arm64:0.15.1

else
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/amd64 \
cosmwasm/workspace-optimizer:0.14.0
cosmwasm/workspace-optimizer:0.15.1
fi

0 comments on commit 13b35a0

Please sign in to comment.