Skip to content

Commit 34f95c5

Browse files
committed
Add release job.
1 parent e2843a4 commit 34f95c5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,22 @@ jobs:
8383
run: chmod +x terminus.phar
8484
- name: Functional Tests
8585
run: composer functional
86+
87+
release:
88+
runs-on: ubuntu-latest
89+
name: Release
90+
container:
91+
image: quay.io/pantheon-public/php-ci:1.x
92+
needs: [functional]
93+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
94+
steps:
95+
- name: Download terminus.phar as artifact
96+
uses: actions/download-artifact@v2
97+
with:
98+
name: terminus-phar
99+
- name: Release
100+
uses: softprops/action-gh-release@v1
101+
with:
102+
files: terminus.phar
103+
env:
104+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)