diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index ab8bf26..ec2e9ab 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -6,12 +6,8 @@ jobs: name: Placeholder run: echo Placeholder Job -on: - push: - tags: - - /^((([\d])+\.){1,2}[\d]+)\s*$/ -jobs: build: + if: ${{ github.ref_name }} =~ /^((([\d])+\.){1,2}[\d]+)\s*$/ && ${{ github.ref_name }} runs-on: docker container: rust:latest steps: