mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-02-18 13:21:31 +01:00
Reduce amount of build time
This commit is contained in:
parent
b7383be97d
commit
20a9db3a00
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -1,6 +1,12 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- '*.md'
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- '*.md'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -13,6 +19,10 @@ jobs:
|
|||||||
java: [11, 8, 14]
|
java: [11, 8, 14]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cancel Previous Runs
|
||||||
|
uses: styfle/cancel-workflow-action@0.4.1
|
||||||
|
with:
|
||||||
|
access_token: ${{ github.token }}
|
||||||
- uses: actions/checkout@v2.2.0
|
- uses: actions/checkout@v2.2.0
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v1.3.0
|
uses: actions/setup-java@v1.3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user