-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
0de6939
commit 666dcbb
Showing
400 changed files
with
9,523 additions
and
9,488 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 |
---|---|---|
@@ -1,52 +1,52 @@ | ||
name: Build Status | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'microsoft' | ||
java-version: 21 | ||
cache: 'gradle' | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/actions/wrapper-validation@v4 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x ./gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
env: | ||
GRADLE_BUILD_CACHE_USER: ${{ secrets.GRADLE_BUILD_CACHE_USER }} | ||
GRADLE_BUILD_CACHE_TOKEN: ${{ secrets.GRADLE_BUILD_CACHE_TOKEN }} | ||
- name: Upload build artifacts (Common) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-Common-${{ github.sha }} | ||
path: | | ||
Common/build/libs/*.jar | ||
!Common/build/libs/*-dev.jar | ||
- name: Upload build artifacts (Fabric) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-Fabric-${{ github.sha }} | ||
path: | | ||
Fabric/build/libs/*.jar | ||
!Fabric/build/libs/*-dev.jar | ||
- name: Upload build artifacts (NeoForge) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-NeoForge-${{ github.sha }} | ||
path: | | ||
NeoForge/build/libs/*.jar | ||
!NeoForge/build/libs/*-dev.jar | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'microsoft' | ||
java-version: 21 | ||
cache: 'gradle' | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/actions/wrapper-validation@v4 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x ./gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
env: | ||
GRADLE_BUILD_CACHE_USER: ${{ secrets.GRADLE_BUILD_CACHE_USER }} | ||
GRADLE_BUILD_CACHE_TOKEN: ${{ secrets.GRADLE_BUILD_CACHE_TOKEN }} | ||
- name: Upload build artifacts (Common) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-Common-${{ github.sha }} | ||
path: | | ||
Common/build/libs/*.jar | ||
!Common/build/libs/*-dev.jar | ||
- name: Upload build artifacts (Fabric) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-Fabric-${{ github.sha }} | ||
path: | | ||
Fabric/build/libs/*.jar | ||
!Fabric/build/libs/*-dev.jar | ||
- name: Upload build artifacts (NeoForge) | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.event.repository.name }}-NeoForge-${{ github.sha }} | ||
path: | | ||
NeoForge/build/libs/*.jar | ||
!NeoForge/build/libs/*-dev.jar |
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 |
---|---|---|
@@ -1,80 +1,80 @@ | ||
name: Upload Release Artifacts | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'microsoft' | ||
java-version: 21 | ||
cache: 'gradle' | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/actions/wrapper-validation@v4 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x ./gradlew | ||
- name: Get current time | ||
uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e | ||
id: current_time | ||
with: | ||
format: YYYYMMDDHHmmss | ||
- name: Setup ENV | ||
run: echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV | ||
- name: Copy Maven Upload URL | ||
id: extract_maven_upload_url | ||
run: echo "maven_upload_url=${{secrets.MAVEN_UPLOAD_URL}}" >> $GITHUB_OUTPUT | ||
- name: Build with Gradle | ||
env: | ||
BUILD_TIME: ${{ steps.current_time.outputs.formattedTime }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
run: ./gradlew assemble | ||
- name: Maven Release | ||
if: steps.extract_maven_upload_url.outputs.maven_upload_url | ||
env: | ||
BUILD_TIME: ${{ steps.current_time.outputs.formattedTime }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
MAVEN_UPLOAD_URL: ${{ secrets.MAVEN_UPLOAD_URL }} | ||
MAVEN_UPLOAD_USERNAME: ${{ secrets.MAVEN_UPLOAD_USERNAME }} | ||
MAVEN_UPLOAD_PASSWORD: ${{ secrets.MAVEN_UPLOAD_PASSWORD }} | ||
run: ./gradlew publish | ||
- name: Publish (GitHub Releases) | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
github-token: ${{ github.token }} | ||
files: | | ||
**/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
**/build/libs/*-@(sources|javadoc).jar | ||
- name: Publish (Fabric) | ||
id: publish_fabric | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
version: ${{ github.ref_name }}+Fabric | ||
version-type: beta | ||
files: | | ||
Fabric/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
Fabric/build/libs/*-@(sources|javadoc).jar | ||
- name: Publish (NeoForge) | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
version: ${{ github.ref_name }}+NeoForge | ||
files: | | ||
NeoForge/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
NeoForge/build/libs/*-@(sources|javadoc).jar | ||
- name: Notify Discord | ||
uses: Up-Mods/action-discord-release@main | ||
with: | ||
version: ${{ github.ref_name }} | ||
webhook-url: ${{ secrets.ANNOUNCEMENT_WEBHOOK_URL }} | ||
curseforge-project-id: ${{ steps.publish_fabric.outputs.curseforge-id }} | ||
modrinth-project-id: ${{ steps.publish_fabric.outputs.modrinth-id }} | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'microsoft' | ||
java-version: 21 | ||
cache: 'gradle' | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/actions/wrapper-validation@v4 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x ./gradlew | ||
- name: Get current time | ||
uses: srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e | ||
id: current_time | ||
with: | ||
format: YYYYMMDDHHmmss | ||
- name: Setup ENV | ||
run: echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV | ||
- name: Copy Maven Upload URL | ||
id: extract_maven_upload_url | ||
run: echo "maven_upload_url=${{secrets.MAVEN_UPLOAD_URL}}" >> $GITHUB_OUTPUT | ||
- name: Build with Gradle | ||
env: | ||
BUILD_TIME: ${{ steps.current_time.outputs.formattedTime }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
run: ./gradlew assemble | ||
- name: Maven Release | ||
if: steps.extract_maven_upload_url.outputs.maven_upload_url | ||
env: | ||
BUILD_TIME: ${{ steps.current_time.outputs.formattedTime }} | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
MAVEN_UPLOAD_URL: ${{ secrets.MAVEN_UPLOAD_URL }} | ||
MAVEN_UPLOAD_USERNAME: ${{ secrets.MAVEN_UPLOAD_USERNAME }} | ||
MAVEN_UPLOAD_PASSWORD: ${{ secrets.MAVEN_UPLOAD_PASSWORD }} | ||
run: ./gradlew publish | ||
- name: Publish (GitHub Releases) | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
github-token: ${{ github.token }} | ||
files: | | ||
**/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
**/build/libs/*-@(sources|javadoc).jar | ||
- name: Publish (Fabric) | ||
id: publish_fabric | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
version: ${{ github.ref_name }}+Fabric | ||
version-type: beta | ||
files: | | ||
Fabric/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
Fabric/build/libs/*-@(sources|javadoc).jar | ||
- name: Publish (NeoForge) | ||
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 | ||
with: | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
version: ${{ github.ref_name }}+NeoForge | ||
files: | | ||
NeoForge/build/libs/!(*-@(dev|sources|javadoc|slim)).jar | ||
NeoForge/build/libs/*-@(sources|javadoc).jar | ||
- name: Notify Discord | ||
uses: Up-Mods/action-discord-release@main | ||
with: | ||
version: ${{ github.ref_name }} | ||
webhook-url: ${{ secrets.ANNOUNCEMENT_WEBHOOK_URL }} | ||
curseforge-project-id: ${{ steps.publish_fabric.outputs.curseforge-id }} | ||
modrinth-project-id: ${{ steps.publish_fabric.outputs.modrinth-id }} |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
{ | ||
|
||
} |
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
3 changes: 1 addition & 2 deletions
3
Common/src/main/java/dev/cammiescorner/arcanus/ArcanusConfig.java
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
1 change: 0 additions & 1 deletion
1
Common/src/main/java/dev/cammiescorner/arcanus/api/spells/SpellComponent.java
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
1 change: 0 additions & 1 deletion
1
Common/src/main/java/dev/cammiescorner/arcanus/api/spells/SpellGroup.java
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
1 change: 0 additions & 1 deletion
1
Common/src/main/java/dev/cammiescorner/arcanus/api/spells/SpellShape.java
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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "dev.upcraft.examplemod.mixin", | ||
"refmap": "${mod_id}.refmap.json", | ||
"compatibilityLevel": "JAVA_21", | ||
"mixins": [ | ||
], | ||
"client": [ | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
"required": true, | ||
"minVersion": "0.8", | ||
"package": "dev.upcraft.examplemod.mixin", | ||
"refmap": "${mod_id}.refmap.json", | ||
"compatibilityLevel": "JAVA_21", | ||
"mixins": [ | ||
], | ||
"client": [ | ||
], | ||
"injectors": { | ||
"defaultRequire": 1 | ||
} | ||
} |
Oops, something went wrong.