Skip to content

Merge pull request #6 from SkriptLang/feature/bump-version-1.1 #13

Merge pull request #6 from SkriptLang/feature/bump-version-1.1

Merge pull request #6 from SkriptLang/feature/bump-version-1.1 #13

name: Build replacer jar
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean replacerJar
- name: Compute short SHA
id: sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: AddonPatcher-Replacer-${{ steps.sha.outputs.short_sha }}
path: build/libs/*.jar