diff --git a/.github/workflows/cosmwasm-ci.yml b/.github/workflows/cosmwasm-ci.yml index d770565..584dfb2 100644 --- a/.github/workflows/cosmwasm-ci.yml +++ b/.github/workflows/cosmwasm-ci.yml @@ -78,5 +78,25 @@ jobs: - name: Assemble uses: montudor/action-zip@v1 with: - args: zip -qq -r artifacts.zip target/lcov.info target/sonar-issues.json target/cdx-sbom.json target/wasm32-unknown-unknown/release/cw_escrow.wasm - \ No newline at end of file + args: zip -qq -r target/artifacts.zip target/lcov.info target/sonar-issues.json target/cdx-sbom.json target/wasm32-unknown-unknown/release/cw_escrow.wasm + + - name: Create Release + uses: actions/create-release@v1 + id: create_release + with: + draft: false + prerelease: false + release_name: 0.11.0-${{ github.ref }} + tag_name: ${{ github.ref }} + env: + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} + + - name: Upload Artifact + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./target/target/artifacts.zip + asset_name: artifacts.zip + asset_content_type: application/gzip \ No newline at end of file