mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
ci: Only run release workflow on tag push
This commit is contained in:
parent
d5ea485a0b
commit
a686d6742c
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -1,6 +1,5 @@
|
|||||||
name: Release
|
name: Release
|
||||||
on:
|
on:
|
||||||
release: {}
|
|
||||||
push:
|
push:
|
||||||
tags: ['*']
|
tags: ['*']
|
||||||
|
|
||||||
@ -38,6 +37,7 @@ jobs:
|
|||||||
echo "title=${output_title}" >> "$GITHUB_OUTPUT"
|
echo "title=${output_title}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
if: ${{ !env.ACT }}
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "bat-extras-*.zip"
|
artifacts: "bat-extras-*.zip"
|
||||||
|
Loading…
Reference in New Issue
Block a user