mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-23 15:21:25 +01:00
Update PR-Demo-Comment.yml
This commit is contained in:
parent
5e1aac0b84
commit
0fb9e18636
8
.github/workflows/PR-Demo-Comment.yml
vendored
8
.github/workflows/PR-Demo-Comment.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
# Only run on PR comments that contain @deployPR from authorized users
|
||||
if: |
|
||||
github.event.issue.pull_request &&
|
||||
contains(github.event.comment.body, '@deployPR') &&
|
||||
contains(toLowercase(github.event.comment.body), 'prdeploy') &&
|
||||
(
|
||||
github.event.comment.user.login == 'frooodle' ||
|
||||
github.event.comment.user.login == 'sf298' ||
|
||||
@ -21,6 +21,7 @@ jobs:
|
||||
)
|
||||
outputs:
|
||||
pr_number: ${{ steps.get-pr.outputs.pr_number }}
|
||||
pr_branch: ${{ steps.get-pr-branch.outputs.result }}
|
||||
|
||||
steps:
|
||||
- name: Get PR data
|
||||
@ -55,14 +56,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ steps.get-pr-branch.outputs.result }}
|
||||
ref: ${{ needs.check-comment.outputs.pr_branch }}
|
||||
|
||||
- name: Set up JDK and Gradle
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
gradle-version: 8.7
|
||||
|
||||
- name: Run Gradle Command
|
||||
run: ./gradlew clean build
|
||||
|
Loading…
Reference in New Issue
Block a user