From 486378af5143c8ae8e47072531a3a68bb27e560d Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 12 Sep 2024 21:17:58 +0800 Subject: [PATCH] tweak publishing --- .github/workflows/publish-artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: