System file chooser improvements #56
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
| # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
| name: PR Snapshots | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| - '.*' | |
| - '**/.settings/**' | |
| - 'flatlaf-core/svg/**' | |
| - 'flatlaf-testing/dumps/**' | |
| - 'flatlaf-testing/misc/**' | |
| - 'images/**' | |
| jobs: | |
| snapshot: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'JFormDesigner/FlatLaf' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: temurin # pre-installed on ubuntu-latest | |
| - name: Cache Gradle | |
| uses: ./.github/actions/cache-gradle | |
| - name: Publish PR snapshot to Sonatype Central | |
| run: > | |
| ./gradlew publish -PskipFonts -Dorg.gradle.internal.publish.checksums.insecure=true -Dorg.gradle.parallel=false | |
| -Pgithub.event.pull_request.number=${{ github.event.pull_request.number }} | |
| env: | |
| SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
| SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} |