-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
6c2f2b0
commit 768e239
Showing
19 changed files
with
195 additions
and
42 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
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,47 @@ | ||
name: Check PR local changes | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- synchronize | ||
- opened | ||
- ready_for_review | ||
- reopened | ||
|
||
jobs: | ||
check-local-changes: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1000 | ||
fetch-tags: true | ||
|
||
# GradleUtils will append the branch name to the version, | ||
# but for that we need a properly checked out branch | ||
- name: Create branch for commit | ||
run: | ||
git switch -C pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Setup JDK 21 | ||
uses: neoforged/actions/setup-java@main | ||
with: | ||
java-version: 21 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
cache-read-only: false | ||
|
||
- name: Setup with Gradle | ||
run: ./gradlew setup | ||
|
||
- name: Run datagen with Gradle | ||
run: ./gradlew :neoforge:runData :tests:runData | ||
|
||
- name: Check no local changes are present | ||
run: | | ||
# Print status for easier debugging | ||
git status | ||
if [ -n "$(git status --porcelain)" ]; then exit 1; fi |
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,20 @@ | ||
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | ||
# The template can be found at https://github.com/neoforged/GradleUtils/blob/a65628b0c89dec60b357ce3f8f6bfa62934b8357/src/actionsTemplate/resources/.github/workflows/publish-jcc.yml | ||
|
||
name: Publish PR JCC output | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Build PRs] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
publish-jcc: | ||
if: true | ||
uses: neoforged/actions/.github/workflows/publish-jcc.yml@main | ||
with: | ||
beta_version_pattern: .*-beta.* | ||
secrets: | ||
JCC_GH_APP_ID: ${{ secrets.JCC_GH_APP_ID }} | ||
JCC_GH_APP_KEY: ${{ secrets.JCC_GH_APP_KEY }} |
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
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
7 changes: 7 additions & 0 deletions
7
...sets/neotests_bubble_column_test/blockstates/downward_bubble_column_sustaining_block.json
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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "neotests_bubble_column_test:block/downward_bubble_column_sustaining_block" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...assets/neotests_bubble_column_test/blockstates/upward_bubble_column_sustaining_block.json
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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "neotests_bubble_column_test:block/upward_bubble_column_sustaining_block" | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
tests/src/generated/resources/assets/neotests_bubble_column_test/lang/en_us.json
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,4 @@ | ||
{ | ||
"block.neotests_bubble_column_test.downward_bubble_column_sustaining_block": "Downward Bubble Column Sustaining block", | ||
"block.neotests_bubble_column_test.upward_bubble_column_sustaining_block": "Upward Bubble Column Sustaining block" | ||
} |
6 changes: 6 additions & 0 deletions
6
...ets/neotests_bubble_column_test/models/block/downward_bubble_column_sustaining_block.json
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,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "testframework:block/white" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...ssets/neotests_bubble_column_test/models/block/upward_bubble_column_sustaining_block.json
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,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "testframework:block/white" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...sets/neotests_bubble_column_test/models/item/downward_bubble_column_sustaining_block.json
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,3 @@ | ||
{ | ||
"parent": "neotests_bubble_column_test:block/downward_bubble_column_sustaining_block" | ||
} |
3 changes: 3 additions & 0 deletions
3
...assets/neotests_bubble_column_test/models/item/upward_bubble_column_sustaining_block.json
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,3 @@ | ||
{ | ||
"parent": "neotests_bubble_column_test:block/upward_bubble_column_sustaining_block" | ||
} |
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
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