remove windows icon for now #13
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: Build Installers | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| include: | |
| - os: ubuntu-latest | |
| installer-type: deb | |
| artifact-pattern: target/package/*.deb | |
| artifact-name: fegloj-linux-deb | |
| - os: windows-latest | |
| installer-type: msi | |
| artifact-pattern: target/package/*.msi | |
| artifact-name: fegloj-windows-msi | |
| - os: macos-latest | |
| installer-type: dmg | |
| artifact-pattern: target/package/*.dmg | |
| artifact-name: fegloj-macos-dmg | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: Install Clojure tools | |
| uses: DeLaGuardo/setup-clojure@12.5 | |
| with: | |
| cli: latest | |
| - name: Build uberjar | |
| run: clojure -T:build uber | |
| - name: Build installer | |
| run: clojure -T:build jpackage-installer | |
| - name: Upload installer | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.artifact-name }} | |
| path: ${{ matrix.artifact-pattern }} | |
| if-no-files-found: error | |
| - name: Upload to release (on tag) | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: ${{ matrix.artifact-pattern }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |