Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-19 14:30:16 +01:00
GitHub workflow (#2163)
Dieser Commit ist enthalten in:
Ursprung
b251170c22
Commit
1d311284fd
24
.github/workflows/gradle.yml
vendored
Normale Datei
24
.github/workflows/gradle.yml
vendored
Normale Datei
@ -0,0 +1,24 @@
|
|||||||
|
# This workflow will build a Java project with Gradle
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
|
name: Java CI with Gradle
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 11
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: artifact
|
||||||
|
path: build/libs
|
15
.travis.yml
15
.travis.yml
@ -1,15 +0,0 @@
|
|||||||
sudo: false
|
|
||||||
|
|
||||||
language: java
|
|
||||||
jdk:
|
|
||||||
- openjdk11
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- '$HOME/.m2/repository'
|
|
||||||
|
|
||||||
script:
|
|
||||||
- mvn dependency:purge-local-repository -DactTransitively=false -DreResolve=false
|
|
||||||
- mvn clean install -B -U
|
|
||||||
|
|
||||||
install: true
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren