mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Update actions workflow
This commit is contained in:
parent
be9d9264ae
commit
4595534a6f
16
.github/stale.yml
vendored
16
.github/stale.yml
vendored
@ -1,16 +0,0 @@
|
|||||||
# Number of days of inactivity before an issue becomes stale
|
|
||||||
daysUntilStale: 60
|
|
||||||
# Number of days of inactivity before a stale issue is closed
|
|
||||||
daysUntilClose: 7
|
|
||||||
# Issues with these labels will never be considered stale
|
|
||||||
exemptLabels:
|
|
||||||
- [‼] high priority
|
|
||||||
# Label to use when marking an issue as stale
|
|
||||||
staleLabel: Old
|
|
||||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
||||||
markComment: >
|
|
||||||
This issue has been automatically marked as stale because it has not had
|
|
||||||
recent activity. It will be closed if no further activity occurs. Thank you
|
|
||||||
for your contributions.
|
|
||||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
||||||
closeComment: false
|
|
20
.github/workflows/build.yml
vendored
Normal file
20
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: "build"
|
||||||
|
|
||||||
|
on: ["pull_request", "push"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
java: ["1.8", "11"]
|
||||||
|
os: ["ubuntu-18.04"]
|
||||||
|
runs-on: "${{ matrix.os }}"
|
||||||
|
steps:
|
||||||
|
- name: "Checkout Repository"
|
||||||
|
uses: "actions/checkout@v2.3.4"
|
||||||
|
- name: "Setup JDK ${{ matrix.java }}"
|
||||||
|
uses: "actions/setup-java@v1.4.3"
|
||||||
|
with:
|
||||||
|
java-version: "${{ matrix.java }}"
|
||||||
|
- name: "Clean Build"
|
||||||
|
run: "./gradlew clean build"
|
30
.github/workflows/gradle.yml
vendored
30
.github/workflows/gradle.yml
vendored
@ -1,30 +0,0 @@
|
|||||||
name: Java CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'v5'
|
|
||||||
- 'v6'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- 'v5'
|
|
||||||
- 'v6'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
java: [1.8, 1.11]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2.0.0
|
|
||||||
- name: Setup Java JDK 1.8
|
|
||||||
uses: actions/setup-java@v1.3.0
|
|
||||||
with:
|
|
||||||
java-version: 1.8
|
|
||||||
- name: Gradle Wrapper Validation
|
|
||||||
uses: gradle/wrapper-validation-action@v1
|
|
||||||
- name: Test with Gradle
|
|
||||||
run: ./gradlew clean build
|
|
12
.github/workflows/validate-gradle-wrapper.yml
vendored
Normal file
12
.github/workflows/validate-gradle-wrapper.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: "validate gradle wrapper"
|
||||||
|
|
||||||
|
on: ["pull_request", "push"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-18.04"
|
||||||
|
steps:
|
||||||
|
- name: "Checkout Repository"
|
||||||
|
uses: "actions/checkout@v2.3.4"
|
||||||
|
- name: "Validate Gradle Wrapper"
|
||||||
|
uses: "gradle/wrapper-validation-action@v1.0.3"
|
Loading…
Reference in New Issue
Block a user