diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 550d8c4..93919fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,11 @@ jobs: distribution: temurin java-version: 17 - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 + uses: gradle/actions/setup-gradle@v6 with: - cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} - cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} + # https://github.com/gradle/actions/blob/v6.0.0/README.md#licensing-notice + cache-disabled: true - name: Run tests - run: ./gradlew test --configuration-cache + run: ./gradlew test - name: Assemble - run: ./gradlew assembleRelease --configuration-cache + run: ./gradlew assembleRelease diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a39ec61..59f8ee5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,12 +34,12 @@ jobs: distribution: temurin java-version: 17 - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 + uses: gradle/actions/setup-gradle@v6 with: - cache-read-only: true - cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} + # https://github.com/gradle/actions/blob/v6.0.0/README.md#licensing-notice + cache-disabled: true - name: Build API documentation with Dokka - run: ./gradlew ui:dokkaGeneratePublicationHtml --configuration-cache + run: ./gradlew ui:dokkaGeneratePublicationHtml - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f32c73c..ed1fb0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,12 +40,12 @@ jobs: distribution: temurin java-version: 17 - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 + uses: gradle/actions/setup-gradle@v6 with: - cache-read-only: true - cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} + # https://github.com/gradle/actions/blob/v6.0.0/README.md#licensing-notice + cache-disabled: true - name: Publish package - run: ./gradlew publish --configuration-cache + run: ./gradlew publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }}