up app versions #318
Workflow file for this run
This file contains 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: Desktop Java CD | |
on: | |
push: | |
tags: | |
- desktop/* | |
jobs: | |
build_job: | |
name: Package | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Cached Konan | |
uses: actions/cache@v2 | |
with: | |
path: ~/.konan | |
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-konan- | |
- name: Cached Gradle | |
uses: actions/cache@v2 | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-gradle- | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Packaging | |
run: ./gradlew packageReleaseDistributionForCurrentOS #TODO packageRelease | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
desktop-compose-app/build/compose/binaries/main-release/deb/*.deb | |
desktop-compose-app/build/compose/binaries/main-release/dmg/*.dmg | |
desktop-compose-app/build/compose/binaries/main-release/msi/*.msi |