-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows, set project id, and add gif
- Loading branch information
Showing
5 changed files
with
74 additions
and
2 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,19 @@ | ||
name: Build on Push | ||
on: | ||
- push | ||
jobs: | ||
gradle: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Commit | ||
uses: actions/checkout@v2 | ||
- name: Fetch Tags | ||
run: git fetch --unshallow --tags -f | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 21 | ||
- name: Build Gradle | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: check |
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,19 @@ | ||
name: Build on Pull Request | ||
on: | ||
- pull_request | ||
jobs: | ||
gradle: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Commit | ||
uses: actions/checkout@v2 | ||
- name: Fetch Tags | ||
run: git fetch --unshallow --tags -f | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 21 | ||
- name: Build Gradle | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: check |
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,34 @@ | ||
name: Publish | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
jobs: | ||
gradle: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Commit | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Fetch Tags | ||
run: git fetch --unshallow --tags -f | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 21 | ||
- name: Publish Maven Jar | ||
env: | ||
ACCESS_KEY: ${{ secrets.ACCESS_KEY }} | ||
SECRET_KEY: ${{ secrets.SECRET_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: build publish | ||
- name: Publish Modrinth Jar | ||
env: | ||
MODRINTH_KEY: ${{ secrets.MODRINTH_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: modrinth |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.