Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Merge pull request #10 from Lunaar-SMP:1.16 #74

Merge pull request #10 from Lunaar-SMP:1.16

Merge pull request #10 from Lunaar-SMP:1.16 #74

Workflow file for this run

name: Build Jar
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Set Time
run: echo "time=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: carpet-lunaar-addons-${{ env.time }}.jar
path: |
build/libs/carpet-lunaar-addons*.jar
!build/libs/*sources.jar
!build/libs/*dev.jar