diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0b3463..a9383c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,14 +29,6 @@ jobs: scala: [ '2.12', '2.13', '3' ] steps: - uses: 7mind/github-env@minimal - - uses: actions/cache@v4 - name: Cache (SBT, Ivy, Coursier) - with: - path: | - ~/.sbt - ~/.cache/coursier - ~/.ivy2/cache - key: ${{ runner.os }}-scala - name: Build and Test env: SCALA_VERSION: ${{ matrix.scala }} @@ -64,6 +56,8 @@ jobs: if: needs.checksecret.outputs.HAVE_SECRETS == 'true' steps: - uses: 7mind/github-env@minimal + with: + cache-scala: false - uses: bitwarden/sm-action@v2 with: access_token: ${{ secrets.TOKEN_BITWARDEN_SM }} @@ -73,7 +67,7 @@ jobs: - name: Publish alien artifacts run: ./build.sh nix publish-alien - publish-artifacts: + publish-scala: runs-on: ubuntu-latest needs: [ 'build', 'checksecret' ] if: needs.checksecret.outputs.HAVE_SECRETS == 'true' @@ -90,14 +84,6 @@ jobs: 994f97a2-97a4-4fe1-806a-b1930104435f > SONATYPE_CREDENTIALS_FILE 749f4227-9f11-4ceb-9121-b1930110c3a9 > OPENSSL_KEY a2fe5b5b-5f3f-47f8-961c-b1930110cea7 > OPENSSL_IV - - uses: actions/cache@v4 - name: Cache (SBT, Ivy, Coursier) - with: - path: | - ~/.sbt - ~/.cache/coursier - ~/.ivy2/cache - key: ${{ runner.os }}-scala - name: Build and Publish to Sonatype env: SONATYPE_SECRET: .secrets/credentials.sonatype-nexus.properties