diff --git a/.github/workflows/publish-artifacts.yml b/.github/workflows/publish-artifacts.yml index ae426c651..48a48f993 100644 --- a/.github/workflows/publish-artifacts.yml +++ b/.github/workflows/publish-artifacts.yml @@ -29,7 +29,7 @@ jobs: with: java-version: '8' distribution: temurin - - run: test -z "SONATYPE_PGP_SECRET" || echo -n "SONATYPE_PGP_SECRET" | base64 --decode | gpg --import --no-tty --batch --yes + - run: test -z "$SONATYPE_PGP_SECRET" || echo "$SONATYPE_PGP_SECRET" | base64 --decode | gpg --import --no-tty --batch --yes - run: GPG_TTY=$(tty) ./mill -i publishSonatype __.publishArtifacts --shard ${{ matrix.shard }} --divisionCount 6 publish-docs: