From ffb601ac2d9b247a1de6b9372eee5f50cd7d939d Mon Sep 17 00:00:00 2001 From: Ben McLean Date: Sun, 2 Jul 2023 05:46:43 +1000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0e786e..ce452ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,28 +121,3 @@ jobs: asset_path: ./build/libs/jsons.jar asset_name: jsons.jar asset_content_type: application/java-archive - publish-package: - needs: [build, publish-release, publish-pre] - if: ${{ always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - # I probably don't need to rebuild, but I'm sick of CI stuff - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: -Pversion=${{ needs.build.outputs.version }} build - - name: Publish to GitHub Packages - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: publish - env: - USERNAME: ${{ github.actor }} - TOKEN: ${{ secrets.GITHUB_TOKEN }}