Skip to content

Commit

Permalink
Update publish_on_every_matching_tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sweet-jelly authored Sep 23, 2024
1 parent 68141f8 commit 8aa0205
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish_on_every_matching_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ name: "tagged-release"
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+-arch[0-9]*"
- '*'

strategy:
matrix:
os: [ubuntu-latest]
fail-fast: true

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- name: Check tag
run: [[ echo "$GITHUB_REF_NAME" | grep -Pq '^[0-9]+\.[0-9]+.[0-9]+-arch[0-9]*$' ]] || exit 1
- uses: actions/checkout@v4
with:
fetch-depth: '0'
Expand Down

0 comments on commit 8aa0205

Please sign in to comment.