Skip to content

Commit

Permalink
update upload cw client action
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 22, 2024
1 parent 045d78b commit 9e53357
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/upload-cw-clients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,17 @@ jobs:
- name: Upload compiled CosmWasm contract
uses: actions/upload-artifact@v4
with:
name: tendermint-cw-${{ github.sha }}
name: tendermint-cw-client
path: artifacts/ibc_client_tendermint_cw.wasm
# Retain the artifact for 1 week for PRs and 3 months for `main` branch
retention-days: ${{ github.event_name == 'pull_request' && 7 || 90 }}
overwrite: true

# # An example workflow to download the artifact:
# download-tendermint-cw-client:
# name: Download pre-compiled Tendermint CosmWasm client
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v4
# with:
# name: tendermint-cw-${{ env.IBC_RS_COMMIT_HASH }}
# repository: cosmos/ibc-rs
# - run: ls -l ibc_client_tendermint_cw.wasm
# # An example workflow to download the artifact:
# - uses: actions/download-artifact@v4
# with:
# name: tendermint-cw-client
# repository: cosmos/ibc-rs
# run-id: ${{ env.UPLOAD_WASM_RUN_ID }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
# - run: ls tendermint-cw-client/ibc_client_tendermint_cw.wasm

0 comments on commit 9e53357

Please sign in to comment.