Kotlinify + publish to repo.fvdh.dev
This commit is contained in:
parent
22d6af916d
commit
75c2fda749
19 changed files with 386 additions and 282 deletions
27
.github/workflows/gradle.yml
vendored
27
.github/workflows/gradle.yml
vendored
|
|
@ -1,31 +1,34 @@
|
|||
# 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:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [ 1.8 ]
|
||||
fail-fast: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
- name: Setup JDK ${{ matrix.java-version }}
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 1.8
|
||||
java-version: ${{ matrix.java-version }}
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
- name: Build
|
||||
run: ./gradlew clean build --stacktrace
|
||||
- name: Upload artififacts
|
||||
uses: actions/upload-artifact@v2.2.1
|
||||
with:
|
||||
name: ServerUtils
|
||||
path: jars/*.jar
|
||||
- name: Publish
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
env:
|
||||
FVDH_USERNAME: ${{ secrets.FVDH_USERNAME }}
|
||||
FVDH_TOKEN: ${{ secrets.FVDH_TOKEN }}
|
||||
run: ./gradlew publish --stacktrace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue