mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 21:00:56 +00:00
33 lines
903 B
YAML
33 lines
903 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
|
|
- name: Archive Pork Bundle
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: pork-bundle
|
|
path: tool/build/distributions/pork.zip
|
|
- name: Archive Pork Jar
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: pork-jar
|
|
path: tool/build/libs/pork-all.jar
|
|
- name: Archive Idea Plugin
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: pork-idea
|
|
path: support/pork-idea/build/distributions/Pork.zip
|