Skip to content

Commit c7fe4a2

Browse files
authored
fix(ci): fix build test steps to be jobs instead of steps (#5738)
1 parent 12fd66c commit c7fe4a2

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/publish-latest.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,18 @@ jobs:
8383
working-directory: ./canary
8484

8585
build-test-v2:
86+
uses: ./.github/workflows/reusable-build-system-test.yml
8687
needs: setup
87-
environment: ci
8888
if: ${{ needs.setup.outputs.has-changesets != 'true' }}
89-
runs-on: ubuntu-latest
90-
steps:
91-
- name: Build test v2
92-
uses: ./.github/workflows/reusable-build-system-test.yml
93-
with:
94-
dist-tag: next
89+
with:
90+
dist-tag: next
9591

9692
build-test-v2-react-native:
93+
uses: ./.github/workflows/reusable-build-system-test-react-native.yml
9794
needs: setup
98-
environment: ci
9995
if: ${{ needs.setup.outputs.has-changesets != 'true' }}
100-
runs-on: ubuntu-latest
101-
steps:
102-
- name: Build test v2 React Native
103-
uses: ./.github/workflows/reusable-build-system-test-react-native.yml
104-
with:
105-
dist-tag: next
96+
with:
97+
dist-tag: next
10698

10799
publish:
108100
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)