Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thewiilover authored Nov 12, 2024
1 parent 9de4f03 commit 7349f4b
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Build Pojlib

on:
Expand All @@ -20,6 +19,7 @@ jobs:
build:
runs-on: windows-2022


steps:
- uses: actions/checkout@v3
with:
Expand All @@ -40,22 +40,19 @@ jobs:
local-cache: true
link-to-sdk: true
- name: Make Gradle wrapper executable and pull LFS
run: git lfs pull | chmod +x ./gradlew
- name: Decode keystore
run: |
bash -c 'base64 --decode <<< "$QCXR_KEYSTORE_BASE64" > qcxr.keystore'
env:
QCXR_KEYSTORE_BASE64: ${{ secrets.QCXR_KEYSTORE_BASE64 }}
run: git lfs pull
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
env:
QCXR_KEYSTORE_ALIAS: ${{ secrets.QCXR_KEYSTORE_ALIAS }}
QCXR_KEYSTORE_PASS: ${{ secrets.QCXR_KEYSTORE_PASS }}

- name: Upload APK
- name: Upload debug
uses: actions/upload-artifact@v3
with:
name: app-release
path: wrapper/launcher/build/outputs/apk/release/*
- name: Upload release
uses: actions/upload-artifact@v3
with:
name: app-debug
path: build/outputs/aar/*
path: wrapper/launcher/build/outputs/apk/debug/*

0 comments on commit 7349f4b

Please sign in to comment.