Skip to content

Commit cdc0284

Browse files
[21302] Fix nightly job (#246)
* Refs #21302: Fix nightly job Signed-off-by: JesusPoderoso <[email protected]> * Refs #21302: Use selected branch in migging jobs (docs & uncrustify) Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]>
1 parent b71a4f1 commit cdc0284

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

.github/workflows/nightly.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
- custom_version_build: 'v2'
15-
ref: '1.x'
16-
- custom_version_build: 'v3'
17-
ref: 'main'
14+
version:
15+
- fastdds_ref: 'v2'
16+
backend_ref: '1.x'
17+
- fastdds_ref: 'v3'
18+
backend_ref: 'main'
1819
name: reusable_tests
1920
uses: ./.github/workflows/reusable-workflow.yml
2021
with:
21-
custom_version_build: ${{ matrix.custom_version_build }}
22+
custom_version_build: ${{ matrix.version.fastdds_ref }}
2223
dependencies_artifact_postfix: '_nightly'
23-
ref: ${{ matrix.ref }}
24+
ref: ${{ matrix.version.backend_ref }}
2425
secrets: inherit

.github/workflows/reusable-workflow.yml

+12
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ jobs:
282282
runs-on: ubuntu-22.04
283283
steps:
284284

285+
- name: Sync repository
286+
uses: eProsima/eProsima-CI/external/checkout@v0
287+
with:
288+
path: src
289+
ref: ${{ inputs.ref }}
290+
285291
- name: Install libtinyxml in ubuntu
286292
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
287293
with:
@@ -309,5 +315,11 @@ jobs:
309315
runs-on: ubuntu-22.04
310316
steps:
311317

318+
- name: Sync repository
319+
uses: eProsima/eProsima-CI/external/checkout@v0
320+
with:
321+
path: src
322+
ref: ${{ inputs.ref }}
323+
312324
- name: Uncrustify
313325
uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0

0 commit comments

Comments
 (0)