Skip to content

Commit

Permalink
Merge pull request #11291 from mkurz/gha_soon_done
Browse files Browse the repository at this point in the history
[2.8.x] GHA: Also release on publish event + secrets inherit
  • Loading branch information
mkurz committed May 18, 2022
2 parents cf1ae9e + 29a49c3 commit 195b4cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Expand Up @@ -5,7 +5,7 @@ on:

push:
branches:
- 2.8.x # Check 2.8.x branch after merge
- 2.8.x # Check branch after merge

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Expand Up @@ -4,14 +4,12 @@ on:
push:
branches: # Snapshots
- 2.8.x
tags: ["*"] # Releases
tags: ["**"] # Releases
release:
types: [published]

jobs:
publish-artifacts:
name: Publish / Artifacts
uses: playframework/.github/.github/workflows/publish.yml@v2
secrets:
username: ${{ secrets.SONATYPE_USERNAME }}
password: ${{ secrets.SONATYPE_PASSWORD }}
pgp_passphrase: ${{ secrets.PGP_PASSPHRASE }}
pgp_secret: ${{ secrets.PGP_SECRET }}
secrets: inherit

0 comments on commit 195b4cd

Please sign in to comment.