build: fix deps workflow tag comparison (#35830)

This commit is contained in:
Shelley Vohr 2022-09-27 09:24:11 -07:00 committed by GitHub
parent 998a0820d9
commit dfb8a2d804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- name: Check Tag
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\.0\.0$ ]]; then
if [[ ${{ github.event.release.tag_name }} =~ ^v[0-9]+\.0\.0$ ]]; then
echo ::set-output name=should_release::true
fi
trigger: