Skip to content

Commit

Permalink
uploading phar into release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroMinoccheri committed May 8, 2021
1 parent b85c369 commit 1ac1877
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ name: Arkitect

on:
push:
branches:
- master
tags:
- '*'
release:
types:
- published
- created


jobs:
create_phar:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,5 +47,10 @@ jobs:
with:
name: phparkitect.phar
path: phparkitect.phar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./phparkitect.phar
asset_name: phparkitect.phar
tag: ${{ github.ref }}

0 comments on commit 1ac1877

Please sign in to comment.