-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infrastructure for PR publishing (#429)
Adds the ability to publish PRs to GitHub Packages for testing purposes.
- Loading branch information
1 parent
97e83fa
commit 1360014
Showing
7 changed files
with
73 additions
and
3 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,30 @@ | ||
# 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 PRs] | ||
types: | ||
- completed | ||
issue_comment: | ||
types: | ||
- edited | ||
pull_request_target: | ||
types: | ||
- opened | ||
|
||
permissions: | ||
packages: write | ||
|
||
jobs: | ||
publish-prs: | ||
if: true | ||
uses: neoforged/actions/.github/workflows/publish-prs.yml@main | ||
with: | ||
artifact_base_path: net/neoforged/neoforge/ | ||
uploader_workflow_name: Build PRs | ||
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
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