Skip to content

Commit

Permalink
Build releases
Browse files Browse the repository at this point in the history
  • Loading branch information
reosfire committed Jul 31, 2024
1 parent 0a11a63 commit c2a7f0b
Showing 1 changed file with 58 additions and 3 deletions.
61 changes: 58 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,67 @@ name: Build
on: [ push ]

jobs:
build:
buildMsi:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle8.5
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.5
- name: Build
run: ./gradlew packageReleaseMsi
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: MSI build
path: build\compose\binaries\main-release\msi\
buildDmg:
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle8.5
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.5
- name: Build
run: ./gradlew packageReleaseDmg
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: DMG build
path: build/compose/binaries/main-release/dmg/
buildDeb:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Gradle
- name: Setup Java17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle8.5
uses: gradle/actions/setup-gradle@v3
- name: Build deb
with:
gradle-version: 8.5
- name: Build
run: ./gradlew packageReleaseDeb
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: DEB build
path: build/compose/binaries/main-release/deb/

0 comments on commit c2a7f0b

Please sign in to comment.