mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Update actions worflow
This commit is contained in:
parent
5d4cf3b705
commit
ef95334fe6
4 changed files with 32 additions and 43 deletions
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"
|
27
.github/workflows/gradle.yml
vendored
27
.github/workflows/gradle.yml
vendored
|
@ -1,27 +0,0 @@
|
|||
name: Java CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'v5'
|
||||
- 'v6'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'v5'
|
||||
- 'v6'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
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 a new issue