diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 899b44057..d4355a69c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,18 +25,17 @@ jobs: - name: Build with Gradle run: ./gradlew test - - name: Add comment with binaries - if: ${{ github.event_name == 'pull_request' }} - uses: marocchino/sticky-pull-request-comment@v2 - with: - header: artifacts - GITHUB_TOKEN: ${{ secrets.PR_PAT }} - message: | - Tests completed successfully. Build artifacts for this pull request will appear below once ready. - - ### Build Artifacts - | Platform | Link | - |:--|------------------------| + # - name: Add comment with binaries + # if: ${{ github.event_name == 'pull_request' }} + # uses: marocchino/sticky-pull-request-comment@v2 + # with: + # header: artifacts + # message: | + # Tests completed successfully. Build artifacts for this pull request will appear below once ready. + # + # ### Build Artifacts + # | Platform | Link | + # |:--|------------------------| build: name: (${{ matrix.os_prefix }}/${{ matrix.arch }}) Create Processing Build @@ -95,13 +94,12 @@ jobs: retention-days: 5 path: app/build/compose/binaries/main/${{ matrix.binary }} - - name: Add comment with binaries - if: ${{ github.event_name == 'pull_request' }} - uses: marocchino/sticky-pull-request-comment@v2 - with: - append: true - header: artifacts - GITHUB_TOKEN: ${{ secrets.PR_PAT }} - message: | - |(${{ matrix.os_prefix }}/${{ matrix.arch }})|[Download processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-pr_${{ github.event.pull_request.number }}](${{ steps.upload-artifact.outputs.artifact-url }})| + # - name: Add comment with binaries + # if: ${{ github.event_name == 'pull_request' }} + # uses: marocchino/sticky-pull-request-comment@v2 + # with: + # append: true + # header: artifacts + # message: | + # |(${{ matrix.os_prefix }}/${{ matrix.arch }})|[Download processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-pr_${{ github.event.pull_request.number }}](${{ steps.upload-artifact.outputs.artifact-url }})| diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml deleted file mode 100644 index c822c46e7..000000000 --- a/.github/workflows/pr.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Pull Requests with Gradle -on: - pull_request: - paths-ignore: - - '**/*.md' - branches: - - main - -jobs: - test: - runs-on: ubuntu-latest - name: Test Processing - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup Processing - uses: ./.github/actions/setup - - - name: Build with Gradle - run: ./gradlew test - build: - name: (${{ matrix.os_prefix }}/${{ matrix.arch }}) Create Processing Build - runs-on: ${{ matrix.os }} - needs: test - strategy: - fail-fast: false - matrix: - include: - - os: ubuntu-24.04-arm - os_prefix: linux - arch: aarch64 - binary: deb/processing*.deb - - os: ubuntu-latest - os_prefix: linux - arch: x64 - binary: deb/processing*.deb - - os: windows-latest - os_prefix: windows - arch: x64 - binary: msi/Processing-*.msi - - os: macos-latest - os_prefix: macos - arch: x64 - binary: dmg/Processing-*.dmg - - os: macos-latest - os_prefix: macos - arch: aarch64 - binary: dmg/Processing-*.dmg - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Setup Processing - uses: ./.github/actions/setup - - - name: Build with Gradle - run: ./gradlew packageDistributionForCurrentOS - - - name: Add artifact - uses: actions/upload-artifact@v4 - with: - name: processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-pr_${{ github.event.pull_request.number }} - retention-days: 5 - path: app/build/compose/binaries/main/${{ matrix.binary }} \ No newline at end of file