Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer committed Nov 25, 2023
1 parent 77bab21 commit 0e1f330
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down

0 comments on commit 0e1f330

Please sign in to comment.