Skip to content

Commit

Permalink
Add release job.
Browse files Browse the repository at this point in the history
  • Loading branch information
kporras07 committed Jun 15, 2021
1 parent e2843a4 commit 34f95c5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,22 @@ jobs:
run: chmod +x terminus.phar
- name: Functional Tests
run: composer functional

release:
runs-on: ubuntu-latest
name: Release
container:
image: quay.io/pantheon-public/php-ci:1.x
needs: [functional]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Download terminus.phar as artifact
uses: actions/download-artifact@v2
with:
name: terminus-phar
- name: Release
uses: softprops/action-gh-release@v1
with:
files: terminus.phar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 34f95c5

Please sign in to comment.