Use github run_number to create tag
This commit is contained in:
parent
d93d0eea89
commit
0eb622643b
11
.github/workflows/build_push_preview.yml
vendored
11
.github/workflows/build_push_preview.yml
vendored
@ -18,13 +18,10 @@ jobs:
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
- name: TAG - Bump version and push tag
|
||||
uses: anothrNick/github-tag-action@1.67.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
WITH_V: true
|
||||
RELEASE_BRANCHES: master
|
||||
DEFAULT_BUMP: patch
|
||||
- name: Create Tag
|
||||
run: |
|
||||
git tag "${{ github.run_number }}"
|
||||
git push origin "${{ github.run_number }}"
|
||||
|
||||
- name: PING - Dispatch initiating repository event
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user