check for tag before releasing
This commit is contained in:
@ -6,10 +6,20 @@ on: [push]
|
||||
# - 'v[0-9]+\.[0-9]+\.[0-9]+'
|
||||
|
||||
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:
|
||||
runs-on: rust-latest
|
||||
depends-on: ["check-tag"]
|
||||
steps:
|
||||
- run: echo ${{ github.ref }}
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create Output Directory
|
||||
run: mkdir package
|
||||
|
||||
Reference in New Issue
Block a user