don't check release name
This commit is contained in:
parent
100be30b41
commit
8d5030c103
1 changed files with 15 additions and 15 deletions
30
.github/workflows/preview.yaml
vendored
30
.github/workflows/preview.yaml
vendored
|
|
@ -8,23 +8,23 @@ on:
|
|||
# types: [prereleased]
|
||||
|
||||
jobs:
|
||||
check_release_name:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_run: ${{ steps.check.outputs.should_run }}
|
||||
steps:
|
||||
- id: check
|
||||
working-directory: .
|
||||
run: |
|
||||
if [[ "${{ github.event.release.tag_name }}" == v0.9.*-vscode ]]; then
|
||||
echo "should_run=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "should_run=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
# check_release_name:
|
||||
# runs-on: ubuntu-latest
|
||||
# outputs:
|
||||
# should_run: ${{ steps.check.outputs.should_run }}
|
||||
# steps:
|
||||
# - id: check
|
||||
# working-directory: .
|
||||
# run: |
|
||||
# if [[ "${{ github.event.release.tag_name }}" == v0.9.*-vscode ]]; then
|
||||
# echo "should_run=true" >> $GITHUB_OUTPUT
|
||||
# else
|
||||
# echo "should_run=false" >> $GITHUB_OUTPUT
|
||||
# fi
|
||||
|
||||
build:
|
||||
needs: check_release_name
|
||||
if: needs.check_release_name.outputs.should_run == 'true'
|
||||
# needs: check_release_name
|
||||
# if: needs.check_release_name.outputs.should_run == 'true'
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue