Skip to content

Commit 58db4b5

Browse files
authored
Create publish.yml
1 parent 0719060 commit 58db4b5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
env:
3+
release_version: ${GITHUB_REF#refs/*/}
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Check output
18+
run: |
19+
echo $release_version

0 commit comments

Comments
 (0)