Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
On push tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 5, 2023
1 parent 5043011 commit 310baa3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
cache: false
targets: wasm32-wasi
- uses: moonrepo/build-proto-plugin@v0
- uses: ncipollo/release-action@v1
# if: ${{ github.event_name == 'push' }}
- if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
uses: ncipollo/release-action@v1
with:
artifactErrorsFailBuild: true
artifacts: builds/*
tag: "test"
prerelease: ${{ contains(github.ref_name, '.alpha') || contains(github.ref_name, '.beta') || contains(github.ref_name, '.rc') }}
artifactErrorsFailBuild: true
prerelease: ${{ contains(github.ref_name, '-alpha') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-rc') }}
skipIfReleaseExists: true

0 comments on commit 310baa3

Please sign in to comment.