Skip to content

release: 1.1.5

release: 1.1.5 #12

Workflow file for this run

name: Build DEV Jars
on: [push, pull_request]
jobs:
build_dev_jars:
name: Build DEV jars
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: |
./gradlew shadowJar snapshotVersion
git_hash=$(git rev-parse --short "$GITHUB_SHA")
echo "git_hash=$git_hash" >> $GITHUB_ENV
echo "snapshotVersion=$(cat build/versions/snapshot.txt)" >> $GITHUB_ENV
echo "artifactPath=$(pwd)/build/libs" >> $GITHUB_ENV
- name: Upload Plugin jar
uses: actions/upload-artifact@v3
with:
name: SimpleJoinMessage-${{ env.snapshotVersion }}-${{ env.git_hash }}.jar
path: ${{ env.artifactPath }}/SimpleJoinMessage-${{ env.snapshotVersion }}.jar