ci: MSI Windows allegato alle release; versione 1.1.2
Job desktop-msi su windows-latest: packageMsi con versione dal tag e upload sulla stessa release (asset InTono-vX.Y.Z-windows.msi). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
89b99354f0
commit
da0d67864f
2 files changed
+35
-2
No files matched your search
@@ -82,3 +82,36 @@ jobs:
|
||||
DMG=$(find desktopApp/build/compose/binaries -name "*.dmg" | head -1)
|
||||
cp "$DMG" "InTono-${GITHUB_REF_NAME}-macos.dmg"
|
||||
gh release upload "$GITHUB_REF_NAME" "InTono-${GITHUB_REF_NAME}-macos.dmg"
|
||||
|
||||
desktop-msi:
|
||||
runs-on: windows-latest
|
||||
needs: release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
|
||||
- name: Set up Gradle (with cache)
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Build MSI
|
||||
shell: bash
|
||||
env:
|
||||
INTONO_VERSION: ${{ github.ref_name }}
|
||||
run: |
|
||||
export INTONO_VERSION="${INTONO_VERSION#v}"
|
||||
./gradlew :desktopApp:packageMsi
|
||||
|
||||
- name: Attach MSI to GitHub Release
|
||||
shell: bash
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
MSI=$(find desktopApp/build/compose/binaries -name "*.msi" | head -1)
|
||||
cp "$MSI" "InTono-${GITHUB_REF_NAME}-windows.msi"
|
||||
gh release upload "$GITHUB_REF_NAME" "InTono-${GITHUB_REF_NAME}-windows.msi"
|
||||
@@ -12,8 +12,8 @@ android {
|
||||
applicationId = "com.notemusicali"
|
||||
minSdk = 26
|
||||
targetSdk = 35
|
||||
versionCode = 3
|
||||
versionName = "1.1.1"
|
||||
versionCode = 4
|
||||
versionName = "1.1.2"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
|
||||
Reference in new issue
Block a user