check for tag before releasing

This commit is contained in:
2025-07-25 14:35:30 +01:00
parent 7ba9cd2c73
commit 86d5e8f66a

View File

@ -6,10 +6,20 @@ on: [push]
# - 'v[0-9]+\.[0-9]+\.[0-9]+' # - 'v[0-9]+\.[0-9]+\.[0-9]+'
jobs: jobs:
check-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for Tag
run: |-
TAGS="$(git tag --points-at HEAD)"
if [ -n $TAGS ]; then
fi
package: package:
runs-on: rust-latest runs-on: rust-latest
depends-on: ["check-tag"]
steps: steps:
- run: echo ${{ github.ref }}
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Create Output Directory - name: Create Output Directory
run: mkdir package run: mkdir package