mirror of
https://github.com/matifali/update-coder-template.git
synced 2024-11-10 08:55:47 +08:00
fix workflow
This commit is contained in:
parent
96e8861edb
commit
a5f9f0e2c3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
@ -18,9 +18,9 @@ jobs:
|
|||
run: |
|
||||
set -euo pipefail
|
||||
if [[ "${{ github.ref }}" =~ -(alpha|beta)- ]]; then
|
||||
echo "PRE_RELEASE=true" >> $GITHUB_ENV
|
||||
echo "PRE_RELEASE=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "PRE_RELEASE=false" >> $GITHUB_ENV
|
||||
echo "PRE_RELEASE=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
# Create a pre release if tag name has alpha or beta
|
||||
|
|
Loading…
Reference in a new issue