Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
run release after tag
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberHoward committed Mar 23, 2023
1 parent 801b0ac commit 4a85f23
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,20 @@ on:


jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Create tag if manually triggered
- uses: rickstaa/action-create-tag@v1
if : ${{ github.event.inputs.manual_version }}
id: "tag_create"
with:
tag: ${{ github.event.inputs.manual_version }}

release-artifacts:
runs-on: ubuntu-latest
needs: create-tag
steps:
- uses: actions/checkout@v3
- name: Install latest stable
Expand All @@ -36,12 +48,6 @@ jobs:
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.12.12
tar -zcvf cosmwasm-artifacts.tar.gz artifacts
# Create tag if manually triggered
- uses: rickstaa/action-create-tag@v1
if : ${{ github.event.inputs.manual_version }}
id: "tag_create"
with:
tag: ${{ github.event.inputs.manual_version }}
- name: Create Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 4a85f23

Please sign in to comment.