Skip to content

Update gradle.yml

Update gradle.yml #39

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# 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:
workflow_dispatch:
push:
pull_request:
branches: [ "master", "QuestCraft" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
steps:

Check failure on line 22 in .github/workflows/gradle.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gradle.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- name: Update submodule
# You may pin to the exact commit or the version.
# uses: fatjyc/update-submodule-action@bdee6d0ff91e87beadd2c1c9de33d9be3e40c930
uses: fatjyc/[email protected]
with:
# The GitHub API user
user: thewiilover
# The GitHub API token to use
token: ${{ secrets.PERSONAL_TOKEN }}
# The Remote Repo
repo: https://github.com/thewiilover/Wrapper-IL2CPP.git
# The Remote Repo Owner
repo_owner: thewiilover
# Commitor Username
committor_username: thewiilover
# Commitor Email
committor_email: [email protected]
# Submodule path
path: wrapper
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- uses: nttld/setup-ndk@v1
with:
ndk-version: r21d
local-cache: true
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: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app-debug
path: launcher/build/outputs/apk/*