Skip to content

fixing desktop build for windows #304

fixing desktop build for windows

fixing desktop build for windows #304

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 package
- name: Archive ui-tests-output artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: output-ui-tests-artifacts
path: |
desktop-compose-app/build/compose/binaries/main/deb
desktop-compose-app/build/compose/binaries/main/dmg
desktop-compose-app/build/compose/binaries/main/msi