macOS tItle bar tweak #54
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pre-releases with Gradle | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**/*.md' | |
| - '.all-contributorsrc' | |
| jobs: | |
| build: | |
| name: Create Pre-release for ${{ matrix.os_prefix }} (${{ matrix.arch }}) | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # # compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit) | |
| # - os: self-hosted | |
| # os_prefix: linux | |
| # arch: arm | |
| - os: ubuntu-latest | |
| os_prefix: linux | |
| arch: x64 | |
| - os: windows-latest | |
| os_prefix: windows | |
| arch: x64 | |
| - os: macos-latest | |
| os_prefix: macos | |
| arch: x64 | |
| - os: macos-latest | |
| os_prefix: macos | |
| arch: aarch64 | |
| # - os: macos-latest | |
| # os_prefix: linux | |
| # arch: aarch64 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| architecture: ${{ matrix.arch }} | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Build with Gradle | |
| run: ./gradlew packageDistributionForCurrentOS | |
| - name: Add instructions | |
| if: ${{ matrix.os_prefix == 'macos' }} | |
| run: | | |
| echo "run 'xattr -d com.apple.quarantine Processing-${version}.dmg' to remove the quarantine flag" > ./app/build/compose/binaries/main/dmg/INSTRUCTIONS_FOR_TESTING.txt | |
| - name: Add artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: processing-${{github.sha}}${{ matrix.os_prefix }}-${{ matrix.arch }} | |
| path: | | |
| ./app/build/compose/binaries/main/dmg/Processing-*.dmg | |
| ./app/build/compose/binaries/main/dmg/INSTRUCTIONS_FOR_TESTING.txt | |
| ./app/build/compose/binaries/main/msi/Processing-*.msi | |
| ./app/build/compose/binaries/main/deb/processing-*.deb | |
| retention-days: 1 |