Skip to content

Commit

Permalink
Also publish client as tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 12, 2023
1 parent a20188f commit 4727d3e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ jobs:
# import certificate to keychain
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security import INSTALLER_CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
- name: Build App Distribution
uses: gradle/gradle-build-action@v2
with:
arguments: packageReleaseDistributionForCurrentOS -Pcompose.desktop.mac.sign=true
- name: Package Linux Distribution
uses: gradle/gradle-build-action@v2
if: matrix.os == 'ubuntu-latest'
with:
arguments: packageDistributable
- name: Setup MSbuild
if: matrix.os == 'windows-latest'
uses: microsoft/[email protected]
Expand Down Expand Up @@ -105,6 +109,8 @@ jobs:
app/desktop/build/compose/binaries/main-release/deb/*.deb
app/desktop/build/compose/binaries/main-release/msi/*.msi
app/desktop/build/compose/binaries/main-release/pkg/*.pkg
app/desktop/build/compose/binaries/main-release/pkg/*.pkg
app/desktop/build/distributions/*.tar.gz
build_android_app:
runs-on: ubuntu-latest
name: Build Android App
Expand Down Expand Up @@ -199,5 +205,6 @@ jobs:
deb/*.deb
pkg/*.pkg
msi/*.msi
*.tar.gz
*.zip
*-signed.apk
*-signed.apk
10 changes: 10 additions & 0 deletions app/desktop/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.org.jline.utils.OSUtils
import kotlin.io.path.pathString

plugins {
kotlin("jvm")
Expand Down Expand Up @@ -69,3 +70,12 @@ compose.desktop {
}
}

tasks {
register<Tar>("packageDistributable") {
from(named("createReleaseDistributable"))
archiveBaseName = "tonbrett"
archiveClassifier = "linux"
compression = Compression.GZIP
archiveExtension = "tar.gz"
}
}

0 comments on commit 4727d3e

Please sign in to comment.