Skip to content

Commit 2be92a8

Browse files
committed
fix env vars
Signed-off-by: joshvanl <me@joshvanl.dev>
1 parent 16cf8cf commit 2be92a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: gradle/gradle-build-action@v2
4343

4444
- name: Build with Gradle
45-
run: ./gradlew build -x test -PGPG_KEY=$GPG_KEY -PGPG_PWD=$GPG_PWD
45+
run: ./gradlew build -x test
4646

4747
- name: Run SpotBugs
4848
run: ./gradlew spotbugsMain spotbugsTest
@@ -84,4 +84,4 @@ jobs:
8484
echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d > private-key.gpg
8585
export GPG_TTY=$(tty)
8686
gpg --batch --import private-key.gpg
87-
./gradlew publish
87+
./gradlew publish -PGPG_KEY=$GPG_KEY -PGPG_PWD=$GPG_PWD

0 commit comments

Comments
 (0)