mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-11 22:45:38 -04:00
Disable actions cache, and increase gradle memory allocation a little.
This commit is contained in:
parent
16a64a2035
commit
e1769a8047
2 changed files with 28 additions and 1 deletions
27
.github/workflows/build.yml
vendored
Normal file
27
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Build
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [1.8, 11, 14]
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java-version }}
|
||||
- uses: eskatos/gradle-command-action@v1.3.2
|
||||
with:
|
||||
gradle-version: wrapper
|
||||
arguments: check build publishToMavenLocal --stacktrace
|
||||
dependencies-cache-enabled: false
|
||||
configuration-cache-enabled: false
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Artifacts
|
||||
path: build/libs/
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Artifacts
|
||||
path: ./*/build/libs/
|
|
@ -1 +1 @@
|
|||
org.gradle.jvmargs=-Xmx2G
|
||||
org.gradle.jvmargs=-Xmx2560M
|
||||
|
|
Loading…
Add table
Reference in a new issue