diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index e9752f3..e1892ba 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -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 @@ -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 diff --git a/devtools/optimize.sh b/devtools/optimize.sh index 3db2907..1ec55e3 100755 --- a/devtools/optimize.sh +++ b/devtools/optimize.sh @@ -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