generated from aura-ascend/template-service
Compare commits
2 Commits
c181f13c95
...
10c0912b11
| Author | SHA1 | Date | |
|---|---|---|---|
| 10c0912b11 | |||
| fa026816aa |
26
.gitea/workflows/build.yaml
Normal file
26
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: Gradle Build on PR
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gradle-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
ref: ${{ inputs.BRANCH_REFERENCE }}
|
||||||
|
token: ${{ secrets.CI_BOT_TOKEN }}
|
||||||
|
- name: Set up JDK
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 17
|
||||||
|
|
||||||
|
- name: Run Gradle Build
|
||||||
|
run: ./gradlew build
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
package ltd.lulz.library
|
package ltd.lulz.library
|
||||||
|
|
||||||
class LulzLibrary
|
class LulzLibrary {
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
// placeholder
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package ltd.lulz.service
|
package ltd.lulz.library
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user