diff --git a/.github/workflows/store-artifacts.yaml b/.github/workflows/store-artifacts.yaml index 9a3924cc..f5cca6e0 100644 --- a/.github/workflows/store-artifacts.yaml +++ b/.github/workflows/store-artifacts.yaml @@ -36,16 +36,18 @@ jobs: - name: Print out files run: | find artifacts + mkdir tmp-artifacts-to-upload + cp artifacts/router_contract.json tmp-artifacts-to-upload/azero_router.json - #- name: Store artifact in S3 bucket - # uses: Cardinal-Cryptography/github-actions/store-contract-artifact@v6 - # with: - # aws-access-key-id: ${{ secrets.CONTRACTS_CMN_ARTIFACTS_RW_AWS_ACCESS_KEY_ID }} - # aws-secret-access-key: ${{ secrets.CONTRACTS_CMN_ARTIFACTS_RW_AWS_SECRET_ACCESS_KEY }} - # aws-region: ${{ secrets.CONTRACTS_S3BUCKET_REGION }} - # s3-bucket: ${{ secrets.CONTRACTS_S3BUCKET_NAME }} - # project: common - # version: ${{ github.sha }} - # contract: azero_router - # src-artifact: artifacts/router - # if-exist: overwrite + - name: Store artifact in S3 bucket + uses: Cardinal-Cryptography/github-actions/store-contract-artifact@v6 + with: + aws-access-key-id: ${{ secrets.CONTRACTS_CMN_ARTIFACTS_RW_AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.CONTRACTS_CMN_ARTIFACTS_RW_AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.CONTRACTS_S3BUCKET_REGION }} + s3-bucket: ${{ secrets.CONTRACTS_S3BUCKET_NAME }} + project: common + version: ${{ github.sha }} + contract: azero_router + src-artifact: tmp-artifacts-to-upload/azero_router.json + if-exist: overwrite