mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 15:47:03 +05:30
chore(ci): migrate to new Gradle actions
This commit is contained in:
parent
38f71460f0
commit
051b7ab2bb
4 changed files with 39 additions and 49 deletions
12
.github/workflows/tramline-release.yml
vendored
12
.github/workflows/tramline-release.yml
vendored
|
@ -25,16 +25,18 @@ jobs:
|
|||
distribution: temurin
|
||||
java-version: 18
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3-beta
|
||||
with:
|
||||
cache-read-only: true
|
||||
gradle-home-cache-cleanup: true
|
||||
|
||||
- name: Build release app
|
||||
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0
|
||||
run: ./gradlew --no-configuration-cache --stacktrace collectReleaseBundle
|
||||
env:
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
|
||||
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ github.event.inputs.versionCode }}
|
||||
with:
|
||||
arguments: --no-configuration-cache --stacktrace collectReleaseBundle
|
||||
gradle-home-cache-cleanup: true
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
- name: Upload app bundle
|
||||
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue