From 39f246246935f4739d5002c8124b472a87ea252b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wro=C5=84ski?= Date: Fri, 26 Aug 2022 13:28:54 +0200 Subject: [PATCH] Fix publish CI --- .github/workflows/ci.yml | 4 ++-- build.sc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e24f7ef..072526d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,7 @@ jobs: path: artifacts/ if-no-files-found: error retention-days: 1 - - run: ./mill -i upload artifacts/ + - run: ./mill -i ci.upload artifacts/ if: github.event_name == 'push' env: UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -150,7 +150,7 @@ jobs: path: artifacts/ if-no-files-found: error retention-days: 1 - - run: ./mill -i upload artifacts/ + - run: ./mill -i ci.upload artifacts/ if: github.event_name == 'push' env: UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/build.sc b/build.sc index 75c228b..8a7c523 100644 --- a/build.sc +++ b/build.sc @@ -283,7 +283,7 @@ object ci extends Module { ): Unit = { val credentials = sys.env("SONATYPE_USERNAME") + ":" + sys.env("SONATYPE_PASSWORD") - val pgpPassword = sys.env("PGP_PASSWORD") + val pgpPassword = sys.env("PGP_PASSPHRASE") val timeout = 10.minutes val artifacts = data.map { case PublishModule.PublishData(a, s) =>