mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 12:50:55 +00:00
fix github workflows
This commit is contained in:
parent
2f5ea4629d
commit
d31a8f41eb
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
groups:
|
||||||
|
actions-updates:
|
||||||
|
dependency-type: production
|
||||||
|
applies-to: version-updates
|
||||||
|
actions-dev-updates:
|
||||||
|
dependency-type: development
|
||||||
|
applies-to: version-updates
|
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -1,32 +1,33 @@
|
|||||||
name: build
|
name: build
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 22
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '22'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
run: ./gradlew build
|
||||||
with:
|
|
||||||
arguments: build
|
|
||||||
- name: Archive Pork Bundle
|
- name: Archive Pork Bundle
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
||||||
with:
|
with:
|
||||||
name: pork-bundle
|
name: pork-bundle
|
||||||
path: tool/build/distributions/pork.zip
|
path: tool/build/distributions/pork.zip
|
||||||
- name: Archive Pork Jar
|
- name: Archive Pork Jar
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
||||||
with:
|
with:
|
||||||
name: pork-jar
|
name: pork-jar
|
||||||
path: tool/build/libs/pork-all.jar
|
path: tool/build/libs/pork-all.jar
|
||||||
- name: Archive Idea Plugin
|
- name: Archive Idea Plugin
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
|
||||||
with:
|
with:
|
||||||
name: pork-idea
|
name: pork-idea
|
||||||
path: support/pork-idea/build/distributions/Pork.zip
|
path: support/pork-idea/build/distributions/Pork.zip
|
||||||
|
75
.github/workflows/graal.yml
vendored
75
.github/workflows/graal.yml
vendored
@ -1,75 +0,0 @@
|
|||||||
name: graal
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
linux-amd64:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Set up GraalVM
|
|
||||||
uses: graalvm/setup-graalvm@v1
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'graalvm'
|
|
||||||
- name: Build with Gradle
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
arguments: nativeCompile
|
|
||||||
- name: Archive Pork Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-linux-amd64
|
|
||||||
path: tool/build/native/nativeCompile/pork
|
|
||||||
- name: Archive Pork Runtime Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-rt-linux-amd64
|
|
||||||
path: minimal/build/native/nativeCompile/pork-rt
|
|
||||||
darwin-amd64:
|
|
||||||
runs-on: macos-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Set up GraalVM
|
|
||||||
uses: graalvm/setup-graalvm@v1
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'graalvm'
|
|
||||||
- name: Build with Gradle
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
arguments: nativeCompile
|
|
||||||
- name: Archive Pork Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-darwin-amd64
|
|
||||||
path: tool/build/native/nativeCompile/pork
|
|
||||||
- name: Archive Pork Runtime Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-rt-darwin-amd64
|
|
||||||
path: minimal/build/native/nativeCompile/pork-rt
|
|
||||||
windows-amd64:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Set up GraalVM
|
|
||||||
uses: graalvm/setup-graalvm@v1
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'graalvm'
|
|
||||||
- name: Build with Gradle
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
arguments: nativeCompile
|
|
||||||
- name: Archive Pork Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-windows-amd64
|
|
||||||
path: tool/build/native/nativeCompile/pork.exe
|
|
||||||
- name: Archive Pork Runtime Executable
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: pork-rt-windows-amd64
|
|
||||||
path: minimal/build/native/nativeCompile/pork-rt.exe
|
|
Loading…
Reference in New Issue
Block a user