2023-03-08 13:33:14 +01:00
|
|
|
name: build-ci
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-03-09 16:20:08 +01:00
|
|
|
runs-on: ubuntu-22.04
|
2023-03-08 13:33:14 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Java setup
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
2023-03-08 14:21:31 +01:00
|
|
|
java-version: 18
|
2023-03-08 13:33:14 +01:00
|
|
|
- name: Cache Gradle packages
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.gradle/caches
|
|
|
|
~/.gradle/wrapper
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-gradle-
|
|
|
|
- name: Build
|
2023-03-09 16:33:09 +01:00
|
|
|
run: chmod +x gradlew && ./gradlew build --stacktrace --info
|
2023-03-09 16:45:55 +01:00
|
|
|
- name: List working directory contents
|
|
|
|
run: ls -R
|
2023-03-08 13:33:14 +01:00
|
|
|
- name: Upload build artifacts
|
2023-03-09 16:18:35 +01:00
|
|
|
uses: actions/upload-artifact@v2
|
2023-03-08 13:33:14 +01:00
|
|
|
with:
|
|
|
|
name: build-artifacts
|
2023-03-09 16:37:22 +01:00
|
|
|
path: Lilase/build/libs
|
2023-03-09 16:18:35 +01:00
|
|
|
# ./gradlew setupDecompWorkspace
|