Skip to content

Commit

Permalink
add new action file
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Oct 21, 2020
1 parent 3984132 commit 52b05f0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tag-release

on:
push:
tags:
- v*

jobs:
release:
name: Test on php ${{ matrix.php}}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: true
matrix:
php: [7.3]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set ENV for github-release
run: |
echo ::set-env name=RELEASE_TAG::$(echo ${GITHUB_REF:10})
echo ::set-env name=RELEASE_NAME::"$GITHUB_WORKFLOW"
- uses: meeDamian/github-release@2.0
with:
gzip: false
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.RELEASE_TAG }}
name: ${{ env.RELEASE_TAG }}
# files: kite-${{ env.RELEASE_TAG }}.phar

0 comments on commit 52b05f0

Please sign in to comment.