Skip to content

Commit 52b05f0

Browse files
committed
add new action file
1 parent 3984132 commit 52b05f0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tag-release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
release:
10+
name: Test on php ${{ matrix.php}}
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
strategy:
14+
fail-fast: true
15+
matrix:
16+
php: [7.3]
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
22+
- name: Set ENV for github-release
23+
run: |
24+
echo ::set-env name=RELEASE_TAG::$(echo ${GITHUB_REF:10})
25+
echo ::set-env name=RELEASE_NAME::"$GITHUB_WORKFLOW"
26+
27+
- uses: meeDamian/[email protected]
28+
with:
29+
gzip: false
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
tag: ${{ env.RELEASE_TAG }}
32+
name: ${{ env.RELEASE_TAG }}
33+
# files: kite-${{ env.RELEASE_TAG }}.phar

0 commit comments

Comments
 (0)