From 697f73efd6a6555e86880d2cd4f3337fd9578df3 Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Tue, 3 Mar 2020 10:47:06 +0530 Subject: [PATCH] Remove publishing on merge --- .github/workflows/build-master.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index f890ce33..d7b7e9b9 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -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