Update contracts-build.yml

This commit is contained in:
Mark Sinclair
2022-11-23 15:51:21 +00:00
committed by GitHub
parent c8b454a085
commit 9637afea85
+7
View File
@@ -9,6 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check the release tag starts with `nym-contracts-`
if: startsWith(github.ref, 'refs/tags/nym-contracts-') == false && github.event_name != 'workflow_dispatch'
uses: actions/github-script@v3
with:
script: |
core.setFailed('Release tag did not start with nym-contracts-...')
- name: Install Rust stable
uses: actions-rs/toolchain@v1