Skip to content

releasing desktop app #313

releasing desktop app

releasing desktop app #313

Workflow file for this run

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 packageDistributionForCurrentOS #TODO packageRelease
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
desktop-compose-app/build/compose/binaries/main/deb/*.deb
desktop-compose-app/build/compose/binaries/main/dmg/*.dmg
desktop-compose-app/build/compose/binaries/main/msi/*.msi