Skip to content

ci: fix release action #16

ci: fix release action

ci: fix release action #16

name: Release Artifacts
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5
jobs:
release-artifacts:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build Artifacts
run: |
$GITHUB_WORKSPACE/scripts/build_release.sh -c chihuahua
tar -zcvf cosmwasm-artifacts_no-token-factory.tar.gz artifacts
- name: Get Artifacts Versions
run: $GITHUB_WORKSPACE/scripts/get_artifacts_versions.sh > artifact_versions.txt
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
cosmwasm-artifacts_no-token-factory.tar.gz
artifact_versions.txt