Skip to content

Commit f1f486b

Browse files
committed
fixed outputs
1 parent 04555a0 commit f1f486b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/update-timestamps.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
upstream_check:
10+
outputs:
11+
timestamps_changed: "{{ steps.timestamp_check.outputs.timestamps_changed }}"
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/checkout@v2
@@ -39,13 +41,15 @@ jobs:
3941
git push
4042
4143
build_fatimage:
42-
if: "${{ steps.timestamp_check.outputs.timestamps_changed }} == 0"
44+
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
4345
needs: upstream_check
4446
uses: ./.github/workflows/fatimage.yml
4547

4648
ci_and_pr:
47-
if: "${{ steps.timestamp_check.outputs.timestamps_changed }} == 0"
48-
needs: build_fatimage
49+
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
50+
needs:
51+
- upstream_check
52+
- build_fatimage
4953
runs-on: ubuntu-latest
5054
steps:
5155
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)