-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* old texture * glare brain * wip * wip * translation fix * wip * Cleanup * cleanup * wip * Improved glare animations * Fixed brain logic for baby glare * Added new workflows * Bumped version * Removed script
- Loading branch information
Showing
44 changed files
with
1,592 additions
and
1,337 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -12,77 +12,54 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
mod_loader: [fabric, forge, neoforge] | ||
script: [client, server] | ||
|
||
name: "Build" | ||
timeout-minutes: 10 | ||
name: Run ${{ matrix.mod_loader }} ${{ matrix.script }} | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Check if the mod loader is supported" | ||
id: check-mod-loader | ||
run: | | ||
if [ -d ${{ matrix.mod_loader }} ]; then | ||
echo "Mod loader is supported" | ||
echo "is_mod_loader_supported=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "Mod loader is not supported" | ||
echo "is_mod_loader_supported=false" >> $GITHUB_OUTPUT | ||
fi | ||
- name: "Set up JDK" | ||
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
|
||
- name: "Setup Gradle" | ||
uses: gradle/[email protected] | ||
with: | ||
cache-read-only: false | ||
|
||
- name: "Run Gradle build" | ||
run: ./gradlew build --no-daemon | ||
|
||
run-client: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
mod_loader: [ "fabric", "forge" ] | ||
name: Run ${{ matrix.mod_loader }} client | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/[email protected] | ||
- name: "Setup Gradle and run build" | ||
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' | ||
uses: gradle/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Setup environment" | ||
uses: ./.github/actions/setup-environment | ||
|
||
- name: Run ${{ matrix.mod_loader }} client | ||
uses: modmuss50/xvfb-action@v1 | ||
with: | ||
run: ./.github/scripts/run-client.sh ${{ matrix.mod_loader }} | ||
shell: bash | ||
|
||
run-server: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
mod_loader: [ "fabric", "forge" ] | ||
name: Run ${{ matrix.mod_loader }} server | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Setup environment" | ||
uses: ./.github/actions/setup-environment | ||
cache-read-only: false | ||
gradle-version: wrapper | ||
arguments: ${{ matrix.mod_loader }}:build | ||
|
||
- name: "Accept eula" | ||
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' | ||
run: mkdir -p ${{ matrix.mod_loader }}/run && echo "eula=true" > ${{ matrix.mod_loader }}/run/eula.txt | ||
|
||
- name: Run ${{ matrix.mod_loader }} server | ||
run: ./.github/scripts/run-server.sh ${{ matrix.mod_loader }} | ||
shell: bash | ||
- name: Run ${{ matrix.mod_loader }} ${{ matrix.script }} | ||
if: steps.check-mod-loader.outputs.is_mod_loader_supported == 'true' | ||
uses: modmuss50/xvfb-action@v1 | ||
with: | ||
run: ./.github/scripts/run-${{ matrix.script }}.sh ${{ matrix.mod_loader }} | ||
shell: bash |
Oops, something went wrong.