Update .github/workflows/tag.yaml
This commit is contained in:
parent
9c1edf7e8b
commit
3916e220b8
34
workflows/tag.yaml → .github/workflows/tag.yaml
vendored
34
workflows/tag.yaml → .github/workflows/tag.yaml
vendored
@ -1,17 +1,17 @@
|
|||||||
name: Tag Repository
|
name: Tag Repository
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
branch:
|
branch:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tag:
|
tag:
|
||||||
name: Tag Repository
|
name: Tag Repository
|
||||||
if: $GITHUB_REF_NAME == "${{ inputs.branch }}"
|
if: $GITHUB_REF_NAME == "${{ inputs.branch }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: ztimson/actions/git/checkout@develop
|
- uses: ztimson/actions/git/checkout@develop
|
||||||
- uses: ztimson/actions/git/tag@develop
|
- uses: ztimson/actions/git/tag@develop
|
Loading…
Reference in New Issue
Block a user