Skip to content

Commit

Permalink
Slight adjustment to the variable passed from job1 to job2
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveW-STFC committed Sep 20, 2024
1 parent 2ab75e3 commit 70c950b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_copied_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Test changed-files
outputs:
check_result: ${{ steps.step1.outputs.result }}
any_changed: ${{steps.changed-files.outputs.any_changed}}
any_changed: ${{ steps.changed-files.outputs.any_changed }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -56,11 +56,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- env:
resultjob1: ${{needs.changed_files.outputs.check_result}}
CHECK_RESULT: ${{ needs.changed_files.outputs.check_result }}
uses: actions/github-script@v7
with:
script: |
if ($resultjob1 != false) {
if ($CHECK_RESULT != 'false') {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
Expand Down

0 comments on commit 70c950b

Please sign in to comment.