Skip to content

Commit

Permalink
Fix actions (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 authored Aug 20, 2024
1 parent 0b786d1 commit 7420c5a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 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: Java CI with Gradle
name: Build Pojlib

on:
workflow_dispatch:
Expand All @@ -18,7 +18,6 @@ permissions:

jobs:
build:

runs-on: windows-2022

steps:
Expand All @@ -34,9 +33,23 @@ jobs:
with:
ndk-version: r21d
local-cache: true
- name: Make Gradle wrapper executable
link-to-sdk: true
- uses: nttld/setup-ndk@v1
with:
ndk-version: r26b
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 }}
- 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 }}
2 changes: 1 addition & 1 deletion wrapper

0 comments on commit 7420c5a

Please sign in to comment.