Skip to content

Commit

Permalink
Remove publishing on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
keizer619 committed Mar 3, 2020
1 parent 2e3e91d commit 697f73e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,3 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

publish-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish artifact
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_PAT }}
run: |
NEW_VERSION=0.8.1-SNAPSHOT
echo "New version: ${NEW_VERSION}"
echo "Github username: ${GITHUB_ACTOR}"
./gradlew -Pversion=${NEW_VERSION} publish

0 comments on commit 697f73e

Please sign in to comment.