Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,25 @@ 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
# 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
runs-on: ${{ matrix.os }}
needs: test
permissions:
pull-requests: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -64,7 +79,27 @@ jobs:

- name: Add artifact
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
name: processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-br_${{ github.ref_name }}
retention-days: 1
path: app/build/compose/binaries/main/${{ matrix.binary }}
path: app/build/compose/binaries/main/${{ matrix.binary }}

- name: Add artifact for PR
if: ${{ github.event_name == 'pull_request' }}
id: upload-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 }}

# - 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 }})|

67 changes: 0 additions & 67 deletions .github/workflows/pr.yml

This file was deleted.