-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 914 Bytes
/
build.yml
File metadata and controls
31 lines (30 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-FileCopyrightText: Copyright © 2024 - 2025 Caleb Cushing
#
# SPDX-License-Identifier: CC0-1.0
name: build
on: [push, workflow_call]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
packages: read
env:
ORG_GRADLE_PROJECT_ghUsername: ${{ secrets.GITHUB_ACTOR }}
ORG_GRADLE_PROJECT_ghPassword: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6.0.1
with:
ref: ${{ github.event.workflow_run.head_branch }}
filter: "blob:none"
fetch-depth: 0
- uses: actions/setup-java@v5.1.0
with:
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v5.0.0
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- run: make ci-build
- uses: gradle/actions/dependency-submission@v5.0.0