mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-23 19:29:50 +00:00
Add: GitHub Action for Pull Request
This commit is contained in:
1 parent
43c8ceb21e
commit
b2b56f5be5
2 files changed
+19
-1
No files matched your search
@@ -6,7 +6,7 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
publish-task:
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
@@ -34,6 +34,7 @@ jobs:
|
||||
./gradlew clean build --stacktrace
|
||||
-
|
||||
name: Publish
|
||||
if: ${{ inputs.publish-task }}
|
||||
env:
|
||||
COS_BUCKET: ${{ secrets.COS_BUCKET }}
|
||||
COS_SECRET_ID: ${{ secrets.COS_SECRET_ID }}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
name: Pull Request
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
branches:
|
||||
- '14-develop'
|
||||
- '15-develop'
|
||||
|
||||
jobs:
|
||||
build-canary:
|
||||
name: Build Pull Request
|
||||
uses: xfl03/MCCustomSkinLoader/.github/workflows/common.yml@14-develop
|
||||
with:
|
||||
type: PullRequest
|
||||
Reference in new issue
Block a user