Skip to content

Commit 848768c

Browse files
committed
Run optimize script for the Astroport TF LPer contract on new release
1 parent 0a82c0d commit 848768c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
command: run-script
2727
args: optimize
2828

29+
- name: Run cargo optimize for Astroport TF LPer
30+
uses: actions-rs/cargo@v1
31+
with:
32+
command: run-script
33+
args: optimize
34+
2935
- name: Export checksums to json
3036
run: |
3137
jq -cR 'split(" ") | {"code_hash":.[0], "contract":.[1]}' ./artifacts/checksums.txt | jq -cs '.' > checksums.json

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ optimize = """docker run --rm -v "$(pwd)":/code \
3939
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
4040
cosmwasm/optimizer:0.15.1
4141
"""
42-
optimize_astroport_tf_lper = """docker run --rm -v "$(pwd)":/code \
42+
optimize-astroport-tf-lper = """docker run --rm -v "$(pwd)":/code \
4343
--mount type=volume,source="astroport-tf-liquid-pooler",target=/code/contracts/astroport-tf-liquid-pooler/target \
4444
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
4545
cosmwasm/optimizer:0.15.1 ./contracts/astroport-tf-liquid-pooler

0 commit comments

Comments
 (0)