manual action exp
This commit is contained in:
parent
71f3728648
commit
e65ddbcdfd
21
.github/workflows/manual-thingy.yml
vendored
Normal file
21
.github/workflows/manual-thingy.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Manually Do Something
|
||||
on: workflow_dispatch
|
||||
inputs:
|
||||
version:
|
||||
description: "The version to release"
|
||||
required: true
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
ref: release/${{ github.event.inputs.version }}
|
||||
- name: Do Something
|
||||
run: |
|
||||
git tag v${{ github.event.inputs.version }}
|
||||
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