-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
d2876e8
commit 47e8d84
Showing
5 changed files
with
85 additions
and
35 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,23 @@ | ||
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | ||
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/build-prs.yml | ||
|
||
name: Build and test PRs | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- synchronize | ||
- opened | ||
- ready_for_review | ||
- reopened | ||
push: | ||
branches: | ||
- 'feature/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: neoforged/actions/.github/workflows/build-prs.yml@main | ||
with: | ||
java: 17 | ||
gradle_tasks: build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | ||
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/publish-prs.yml | ||
|
||
name: Publish PRs to GitHub Packages | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Build and test PRs] | ||
types: | ||
- completed | ||
issue_comment: | ||
types: | ||
- edited | ||
pull_request_target: | ||
types: | ||
- opened | ||
|
||
permissions: | ||
packages: write | ||
|
||
jobs: | ||
publish-prs: | ||
if: false # Option not enabled when the workflows were generated | ||
uses: neoforged/actions/.github/workflows/publish-prs.yml@main | ||
with: | ||
artifact_base_path: dev/su5ed/sinytra/fabric-loader/ | ||
secrets: | ||
PR_PUBLISHING_GH_APP_ID: ${{ secrets.PR_PUBLISHING_GH_APP_ID }} | ||
PR_PUBLISHING_GH_APP_KEY: ${{ secrets.PR_PUBLISHING_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | ||
# The template can be found at https://github.com/neoforged/GradleUtils/blob/44d9e09cfa2c6032b84ac40495ea5ab7d64fe521/src/actionsTemplate/resources/.github/workflows/release.yml | ||
|
||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- '1.*' | ||
|
||
permissions: | ||
contents: read | ||
statuses: write | ||
|
||
jobs: | ||
release: | ||
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main | ||
with: | ||
java: 17 | ||
pre_gradle_tasks: build | ||
gradle_tasks: publish | ||
secrets: | ||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | ||
MAVEN_USER: ${{ secrets.MAVEN_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} |
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