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) =>