Skip to content

Commit 88a4712

Browse files
authored
Fix build fastdds default branch (#257)
* Fix build fastdds default branch Signed-off-by: RaulSanchez <raul@eprosima.com> * Update cron job to run every hour Signed-off-by: RaulSanchez <raul@eprosima.com>
1 parent 600e95a commit 88a4712

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/build_fastdds.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: true
99
default: 'master'
1010
schedule:
11-
- cron: '0 0 * * *'
11+
- cron: '15 * * * *'
1212

1313

1414
jobs:
@@ -38,9 +38,11 @@ jobs:
3838

3939
- name: Install eProsima dependencies
4040
uses: ./DDS-Router/.github/actions/install-eprosima-dependencies-windows
41+
env:
42+
DEFAULT_FASTDDS_BRANCH: 'master'
4143
with:
4244
cmake_build_type: ${{ matrix.cmake-config }}
43-
fastdds_branch: ${{ github.event.inputs.fastdds_branch }}
45+
fastdds_branch: ${{ github.event.inputs.fastdds_branch || env.DEFAULT_FASTDDS_BRANCH }}
4446

4547
- name: Upload binaries
4648
uses: actions/upload-artifact@v3
@@ -75,8 +77,10 @@ jobs:
7577

7678
- name: Fetch Fast DDS repositories
7779
uses: ./src/DDS-Router/.github/actions/fetch-fastdds-repos
80+
env:
81+
DEFAULT_FASTDDS_BRANCH: 'master'
7882
with:
79-
fastdds_branch: ${{ github.event.inputs.fastdds_branch }}
83+
fastdds_branch: ${{ github.event.inputs.fastdds_branch || env.DEFAULT_FASTDDS_BRANCH }}
8084

8185
- name: Build workspace
8286
run: |

0 commit comments

Comments
 (0)