Skip to content

Commit ee269c5

Browse files
committed
IC:2021-04-20, Check for duplicates for all jobs in docs workflow
Adds the "needs" and "if" statement to use the check-for-duplicates action to the usersguide and osalguide documentation jobs.
1 parent 0d7165d commit ee269c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-documentation.yml

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
7373
build-usersguide:
7474
# Name the Job
75+
needs: checks-for-duplicates
76+
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
7577
name: Users Guide
7678
# Set the type of machine to run on
7779
runs-on: ubuntu-18.04
@@ -154,6 +156,8 @@ jobs:
154156

155157
build-osalguide:
156158
# Name the Job
159+
needs: checks-for-duplicates
160+
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
157161
name: Osal Guide
158162
# Set the type of machine to run on
159163
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)