Skip to content

Commit 8d4e806

Browse files
authored
Fix PR and Nightly workflows after reusable-workflow rename. (#2824)
1 parent cd088cf commit 8d4e806

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.github/workflows/nightly.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
lib: [SalesforceAnalytics, SalesforceSDK, SmartStore, MobileSync]
17-
uses: ./.github/workflows/reusable-workflow.yaml
17+
uses: ./.github/workflows/reusable-lib-workflow.yaml
1818
with:
1919
lib: ${{ matrix.lib }}
2020
secrets: inherit
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
lib: [SalesforceHybrid]
28-
uses: ./.github/workflows/reusable-workflow.yaml
28+
uses: ./.github/workflows/reusable-lib-workflow.yaml
2929
with:
3030
lib: ${{ matrix.lib }}
3131
secrets: inherit
@@ -36,18 +36,10 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
lib: [SalesforceReact]
39-
uses: ./.github/workflows/reusable-workflow.yaml
39+
uses: ./.github/workflows/reusable-lib-workflow.yaml
4040
with:
4141
lib: ${{ matrix.lib }}
4242
secrets: inherit
4343
android-nightly-UI-Tests:
44-
if: success() || failure()
45-
needs: [android-nightly-React]
46-
strategy:
47-
fail-fast: false
48-
matrix:
49-
lib: [App]
50-
uses: ./.github/workflows/reusable-workflow.yaml
51-
with:
52-
lib: ${{ matrix.lib }}
44+
uses: ./.github/workflows/reusable-ui-workflow.yaml
5345
secrets: inherit

.github/workflows/pr.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,21 @@ jobs:
4848
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
run: bundle exec danger --dangerfile=.github/DangerFiles/TestOrchestrator.rb --danger_id="TestOrchestrator"
5050

51-
android-pr:
51+
unit-tests-pr:
5252
needs: [test-orchestrator]
5353
strategy:
5454
fail-fast: false
5555
matrix:
5656
lib: ${{ fromJson(needs.test-orchestrator.outputs.libs) }}
57-
uses: ./.github/workflows/reusable-workflow.yaml
57+
uses: ./.github/workflows/reusable-lib-workflow.yaml
5858
with:
5959
lib: ${{ matrix.lib }}
6060
is_pr: true
61+
secrets: inherit
62+
63+
ui-tests-pr:
64+
needs: [test-orchestrator]
65+
uses: ./.github/workflows/reusable-ui-workflow.yaml
66+
with:
67+
is_pr: true
6168
secrets: inherit

0 commit comments

Comments
 (0)