-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9530714
Showing
20 changed files
with
3,046 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a Bug or an Issue with this Plugin. | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description (Required) | ||
<!-- A clear and detailed description of what exactly the Issue consists of. --> | ||
<!-- Please try to write as much as possible. "it doesn't work" is not sufficient. --> | ||
<!-- Try to write at least 4-6 sentences. --> | ||
|
||
## Steps to reproduce the Issue (Required) | ||
<!-- Youtube Videos and Screenshots are recommended! --> | ||
|
||
## Expected behavior (Required) | ||
<!-- What did you expect to happen? --> | ||
|
||
## Server Log / Error Report | ||
<!-- Take a look at your Server Log and please provide any error reports you can find via https://pastebin.com/ --> | ||
<!-- We may discard your Issue if you just post it here, as it's unreadable for us. Please use Pastebin! --> | ||
|
||
## Environment (Required) | ||
<!-- We may also close your Issue if you are not providing the exact version numbers. --> | ||
<!-- "latest" IS NOT A VERSION NUMBER. --> | ||
<!-- You can also just run "/sf versions" and show us a screenshot of that. --> | ||
|
||
- Minecraft Version: | ||
- CS-CoreLib Version: | ||
- Slimefun Version: | ||
- Plugin Version: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Build with Maven | ||
run: mvn clean package | ||
|
||
- name: Upload JAR Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: SlimeVision.jar | ||
path: target/*.jar | ||
|
||
- name: Generate random number for tag | ||
id: random_tag | ||
run: echo "TAG_NAME=build-$(date +%s)-$RANDOM" >> $GITHUB_ENV | ||
|
||
- name: Debug TAG_NAME | ||
run: echo "TAG_NAME is ${{ env.TAG_NAME }}" | ||
|
||
- name: Create GitHub Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ env.TAG_NAME }} | ||
release_name: "SlimeVision" | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: target/SlimeVision.jar | ||
asset_name: SlimeVision.jar | ||
asset_content_type: application/java-archive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/bin/ | ||
/.settings/ | ||
/target/ | ||
/.idea/ | ||
*.iml | ||
.project | ||
.classpath | ||
dependency-reduced-pom.xml | ||
.DS_Store |
Oops, something went wrong.