diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d767989..c6ca681 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -44,7 +44,7 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@main with: - cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/master/') || github.event_name == 'pull_request' }} + cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/master') || github.event_name == 'pull_request' }} arguments: "build --stacktrace" - name: Determine status & prepare for publish @@ -55,13 +55,6 @@ jobs: else echo "STATUS=release" >> $GITHUB_ENV fi - echo $GITHUB_ENV - echo $env.STATUS - cat $GITHUB_ENV - echo ${{ runner.os }} - echo ${{ runner }} - echo ${{ github.ref }} - echo ${{ github.event_name }} - name: Publish if: ${{ runner.os == 'Linux' && env.STATUS != 'release' && github.event_name == 'push' && startsWith(github.ref, 'refs/heads/master') }}