Skip to content

Merge pull request #11 from EmptyIrony/master #22

Merge pull request #11 from EmptyIrony/master

Merge pull request #11 from EmptyIrony/master #22

Workflow file for this run

name: taboolib-development Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Gradle
run: ./gradlew build shadowJar writeVersionToFile
- name: Read Version From File
id: read_version
run: echo "VERSION=$(cat build/version.txt)" >> $GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: taboolib-development-${{ env.VERSION }}-all
path: build/libs/*-${{ env.VERSION }}-all.jar