mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 21:20:55 +00:00
26 lines
645 B
YAML
26 lines
645 B
YAML
name: Build
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Build with Gradle
|
|
uses: gradle/gradle-build-action@v2
|
|
with:
|
|
arguments: build check
|
|
- name: Organize Artifacts
|
|
run: ./tools/organize-artifacts.sh
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: foundation-build
|
|
path: |
|
|
artifacts/*
|