Skip to content

Commit

Permalink
Merge branch 'feature/github-release-action' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
b3rnhard committed May 23, 2021
2 parents 35b9b4b + 3434636 commit 1e74b32
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: create release

on:
push:
tags:
- "*"
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: montudor/action-zip@v1
with:
args: zip -qq -r youtrack.keypirinha-package youtrack.ini youtrack.py youtrack_server.py icons/icon_youtrack.png lib
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Upload Release
uses: ncipollo/release-action@v1
with:
name: Release ${{ env.RELEASE_VERSION }}
artifacts: "youtrack.keypirinha-package"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1e74b32

Please sign in to comment.