From bf776e0f083ee454631c766a8943cf2197d1c9ff Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Mon, 22 Apr 2024 12:16:27 +0200 Subject: [PATCH] update upload cw client action --- .github/workflows/upload-cw-clients.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/upload-cw-clients.yaml b/.github/workflows/upload-cw-clients.yaml index b67bdf3170..c7949e187e 100644 --- a/.github/workflows/upload-cw-clients.yaml +++ b/.github/workflows/upload-cw-clients.yaml @@ -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