Skip to content

Commit

Permalink
Add github release job
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Sep 1, 2023
1 parent cd2aa91 commit 4c634b1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,22 @@ jobs:
name: n98-magerun.phar
- name: Update dist repo
run: .github/workflows/update-dist-repo.sh

create-github-release:
runs-on: ubuntu-latest
needs: [ "create-signed-phar-file" ]
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout HEAD
uses: actions/checkout@v3.6.0
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: n98-magerun.phar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
n98-magerun.phar
n98-magerun.phar.asc

0 comments on commit 4c634b1

Please sign in to comment.