forked from neoforged/NeoForge
-
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.
Merge branch 'pr429' into with-pr-publish
- Loading branch information
Showing
5 changed files
with
64 additions
and
38 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 |
---|---|---|
@@ -1,36 +1,36 @@ | ||
name: Publish PRs | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
permissions: | ||
contents: read | ||
statuses: write | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1000 | ||
fetch-tags: true | ||
|
||
- name: Make Gradle executable | ||
# language=bash | ||
run: chmod +x ./gradlew # Thanks Windows | ||
|
||
- name: Setup Java 17 | ||
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#java | ||
# language=bash | ||
run: export JAVA_HOME=$(echo $JAVA_HOME_17_X64) | ||
|
||
- uses: gradle/gradle-build-action@v2 | ||
name: Setup | ||
with: | ||
arguments: :neoforge:setup | ||
|
||
- uses: ForgeForce/action-pr-publishing/upload@mainff | ||
name: Publish PRs | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
permissions: | ||
contents: read | ||
statuses: write | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1000 | ||
fetch-tags: true | ||
|
||
- name: Make Gradle executable | ||
# language=bash | ||
run: chmod +x ./gradlew # Thanks Windows | ||
|
||
- name: Setup Java 17 | ||
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#java | ||
# language=bash | ||
run: export JAVA_HOME=$(echo $JAVA_HOME_17_X64) | ||
|
||
- uses: gradle/gradle-build-action@v2 | ||
name: Setup | ||
with: | ||
arguments: :neoforge:setup | ||
|
||
- uses: ForgeForce/action-pr-publishing/upload@mainff |
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