Skip to content

Commit

Permalink
build: )
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed May 4, 2021
1 parent 81701aa commit 8afead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
echo "STATUS=release" >> $GITHUB_ENV
fi
- name: Publish with Gradle
if: "${{ runner.os == 'Linux' && ((env.STATUS == 'release' && github.event_name == 'release') || (env.STATUS != 'release' && github.event_name != 'release' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/3.x' || startsWith(github.ref, 'ref/heads/release/'))) }}"
if: "${{ runner.os == 'Linux' && ((env.STATUS == 'release' && github.event_name == 'release') || (env.STATUS != 'release' && github.event_name != 'release' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/3.x' || startsWith(github.ref, 'ref/heads/release/')))) }}"
run: ./gradlew publish gitPublishCopy closeSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_githubPackagesUsername: "${{ github.actor }}"
Expand Down

0 comments on commit 8afead6

Please sign in to comment.