mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 09:04:32 +01:00
Workflows Updated
This commit is contained in:
parent
d4076be165
commit
73bd43d23c
@ -1,7 +1,7 @@
|
|||||||
name: Build Desktop Packages
|
name: Build Release Binaries
|
||||||
|
|
||||||
on:
|
on:
|
||||||
[workflow_dispatch]
|
[ workflow_dispatch ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-linux-package:
|
create-linux-package:
|
||||||
@ -31,10 +31,10 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
tag: "v3.3.0"
|
allowUpdates: true
|
||||||
|
tag: "v3.3.1"
|
||||||
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*"
|
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
commit: main
|
|
||||||
|
|
||||||
|
|
||||||
# Windows Package
|
# Windows Package
|
||||||
@ -60,15 +60,30 @@ jobs:
|
|||||||
- name: Desktop App Package
|
- name: Desktop App Package
|
||||||
run: ./gradlew :desktop:packageMsi
|
run: ./gradlew :desktop:packageMsi
|
||||||
|
|
||||||
|
# Build Android App
|
||||||
|
- name: Generate Release APK
|
||||||
|
run: ./gradlew :android:assembleRelease
|
||||||
|
|
||||||
|
# Sign Android Apk
|
||||||
|
- name: Sign APK
|
||||||
|
uses: r0adkll/sign-android-release@v1
|
||||||
|
id: sign_app
|
||||||
|
with:
|
||||||
|
releaseDirectory: android/build/outputs/apk/release
|
||||||
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||||
|
alias: ${{ secrets.ALIAS }}
|
||||||
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
|
|
||||||
# Create a Draft Release
|
# Create a Draft Release
|
||||||
- name: Draft Release
|
- name: Draft Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
tag: "v3.3.0"
|
allowUpdates: true
|
||||||
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*"
|
tag: "v3.3.1"
|
||||||
|
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*,android/build/outputs/apk/release/*"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
commit: main
|
|
||||||
|
|
||||||
|
|
||||||
create-mac-package:
|
create-mac-package:
|
||||||
@ -98,7 +113,7 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
tag: "v3.3.0"
|
allowUpdates: true
|
||||||
|
tag: "v3.3.1"
|
||||||
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*"
|
artifacts: "desktop/build/compose/jars/*.jar,desktop/build/compose/binaries/main/*/*"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
commit: main
|
|
@ -9,7 +9,6 @@ kotlin {
|
|||||||
useExperimentalAnnotation("kotlin.RequiresOptIn")
|
useExperimentalAnnotation("kotlin.RequiresOptIn")
|
||||||
useExperimentalAnnotation("kotlin.Experimental")
|
useExperimentalAnnotation("kotlin.Experimental")
|
||||||
useExperimentalAnnotation("kotlin.time.ExperimentalTime")
|
useExperimentalAnnotation("kotlin.time.ExperimentalTime")
|
||||||
useExperimentalAnnotation("androidx.compose.animation")
|
|
||||||
useExperimentalAnnotation("kotlinx.serialization.ExperimentalSerializationApi")
|
useExperimentalAnnotation("kotlinx.serialization.ExperimentalSerializationApi")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,11 @@ kotlin {
|
|||||||
jvm("desktop")
|
jvm("desktop")
|
||||||
android()
|
android()
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
all {
|
||||||
|
languageSettings.apply {
|
||||||
|
useExperimentalAnnotation("androidx.compose.animation")
|
||||||
|
}
|
||||||
|
}
|
||||||
named("commonMain") {
|
named("commonMain") {
|
||||||
dependencies {
|
dependencies {
|
||||||
// Decompose
|
// Decompose
|
||||||
|
@ -23,6 +23,11 @@ plugins {
|
|||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
all {
|
||||||
|
languageSettings.apply {
|
||||||
|
useExperimentalAnnotation("androidx.compose.animation")
|
||||||
|
}
|
||||||
|
}
|
||||||
commonMain {
|
commonMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(compose.material)
|
implementation(compose.material)
|
||||||
|
Loading…
Reference in New Issue
Block a user