Skip to content

Commit

Permalink
Fix release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Dec 28, 2021
1 parent e145790 commit 2fbc47c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
release:
types: [published]
push:
tags:
- "v*.*.*"

name: Release
jobs:
release:
Expand Down Expand Up @@ -30,10 +32,11 @@ jobs:
args: gpg --command-fd 0 --pinentry-mode loopback -u info@phpdoc.org --batch
--detach-sign --output build/phpDocumentor.phar.asc build/phpDocumentor.phar
- name: release phar
uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: build/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
files: |
build/phpDocumentor.phar.asc
build/phpDocumentor.phar
- name: release shim
uses: benc-uk/workflow-dispatch@v1
with:
Expand Down

0 comments on commit 2fbc47c

Please sign in to comment.