Skip to content

Commit 491ee6f

Browse files
authored
Merge pull request #24 from playframework/secrets-inherit
Don't require secrets, otherwise we can't use `secrets: inherit`
2 parents 0ef9b81 + fb2baf0 commit 491ee6f

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ on:
1111
type: string
1212
required: false
1313
default: 8
14-
secrets:
15-
username:
16-
required: true
17-
password:
18-
required: true
19-
pgp_passphrase:
20-
required: true
21-
pgp_secret:
22-
required: true
2314

2415
jobs:
2516
cmd:
@@ -45,10 +36,10 @@ jobs:
4536
- name: Publish artifacts
4637
run: sbt ci-release
4738
env:
48-
SONATYPE_USERNAME: ${{ secrets.username }}
49-
SONATYPE_PASSWORD: ${{ secrets.password }}
50-
PGP_PASSPHRASE: ${{ secrets.pgp_passphrase }}
51-
PGP_SECRET: ${{ secrets.pgp_secret }}
39+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
40+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
41+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
42+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
5243

5344
- name: Cleanup before cache
5445
shell: bash

0 commit comments

Comments
 (0)