exp
This commit is contained in:
parent
a73381dafa
commit
d62945518b
12
.github/workflows/manual-thingy.yml
vendored
12
.github/workflows/manual-thingy.yml
vendored
|
@ -3,7 +3,7 @@ on: workflow_dispatch
|
||||||
jobs:
|
jobs:
|
||||||
job:
|
job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'release/')
|
#if: startsWith(github.ref, 'release/')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -12,7 +12,9 @@ jobs:
|
||||||
- name: Do Something
|
- name: Do Something
|
||||||
run: |
|
run: |
|
||||||
version="${${{ github.ref }}:8}" # trim starting 'release/' (8 chars)
|
version="${${{ github.ref }}:8}" # trim starting 'release/' (8 chars)
|
||||||
git tag v$version
|
echo "ref=${{ github.ref }}"
|
||||||
git config user.email "github-actions@zpqrtbnk.net"
|
echo "version=$version"
|
||||||
git config user.name "GitHub Actions (Do Something)"
|
#git tag v$version
|
||||||
git push --tags
|
#git config user.email "github-actions@zpqrtbnk.net"
|
||||||
|
#git config user.name "GitHub Actions (Do Something)"
|
||||||
|
#git push --tags
|
||||||
|
|
Loading…
Reference in New Issue
Block a user