| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- on:
- workflow_dispatch:
- push:
- tags:
- - v*
- jobs:
- release-linux:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-java@v3
- with:
- distribution: 'temurin'
- java-version: '17'
- - shell: bash
- run: ./gradlew linuxX64Binaries -Prelease
- - shell: bash
- run: ./gradlew linuxArm64Binaries -Prelease
- - shell: bash
- run: ./gradlew linuxX64DistTar linuxArm64DistTar
- - if: startsWith(github.ref, 'refs/tags/v')
- uses: softprops/action-gh-release@v1
- with:
- files: |
- build/distributions/*
- release-macos:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-java@v3
- with:
- distribution: 'temurin'
- java-version: '17'
- - shell: bash
- run: ./gradlew macosX64Binaries -Prelease
- - shell: bash
- run: ./gradlew macosArm64Binaries -Prelease
- - shell: bash
- run: ./gradlew macosX64DistZip macosArm64DistZip
- - if: startsWith(github.ref, 'refs/tags/v')
- uses: softprops/action-gh-release@v1
- with:
- files: |
- build/distributions/*
|