Skip to content

Commit

Permalink
Update gradle-build-action to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Dec 27, 2023
1 parent 7f4a182 commit b759e3c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 27 deletions.
38 changes: 15 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ jobs:
with:
distribution: 'oracle'
java-version: ${{ env.JAVA_VERSION }}
- name: Build plugin
uses: gradle/gradle-build-action@v2
with:
arguments: assembleBot
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- run: ./gradlew assembleBot
- name: Upload plugin artifact
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -83,15 +82,12 @@ jobs:
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
- name: Build App Distribution
uses: gradle/gradle-build-action@v2
with:
arguments: packageReleaseDistributionForCurrentOS -Pcompose.desktop.mac.sign=true --stacktrace
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- run: ./gradlew packageReleaseDistributionForCurrentOS -Pcompose.desktop.mac.sign=true --stacktrace
- name: Package Linux Distribution
uses: gradle/gradle-build-action@v2
if: matrix.os == 'ubuntu-latest'
with:
arguments: packageDistributable
run: ./gradlew packageDistributable
- name: Setup MSbuild
if: matrix.os == 'windows-latest'
uses: microsoft/[email protected]
Expand All @@ -101,11 +97,9 @@ jobs:
& 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/makeappx.exe' pack /d app/desktop/build/msix-workspace /p Tonbrett.msix
- name: Notarize MacOS installer
if: matrix.os == 'macos-latest'
uses: gradle/gradle-build-action@v2
env:
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
with:
arguments: notarizeReleasePkg -Pcompose.desktop.mac.sign=true
run: ./gradlew notarizeReleasePkg -Pcompose.desktop.mac.sign=true
- name: Upload distributions
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -136,14 +130,13 @@ jobs:
fileName: 'android_keystore.jks'
fileDir: 'keystore'
encodedString: ${{ secrets.KEYSTORE }}
- name: Build App Distribution
uses: gradle/gradle-build-action@v2
env:
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- env:
SIGNING_KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
with:
arguments: :app:android:bundleRelease :app:android:assembleRelease
run: ./gradlew :app:android:bundleRelease :app:android:assembleRelease
- uses: r0adkll/sign-android-release@v1
id: sign_bundle
name: Sign AAB
Expand Down Expand Up @@ -262,10 +255,9 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- uses: olegtarasov/[email protected]
id: tagName
- name: Build iosApp
uses: gradle/gradle-build-action@v2
with:
arguments: app:ios:podinstall :app:ios:linkPodReleaseFrameworkIosArm64
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- run: ./gradlew app:ios:podinstall :app:ios:linkPodReleaseFrameworkIosArm64
- name: Deploy iOS Beta to TestFlight via Fastlane
uses: maierj/[email protected]
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
with:
distribution: 'temurin'
java-version: 21
- name: Build plugin
uses: gradle/gradle-build-action@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- run: ./gradlew publish
env:
SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }}
GOOGLE_KEY: ${{ secrets.GOOGLE_KEY }}
with:
arguments: publish
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b759e3c

Please sign in to comment.