Skip to content

Commit

Permalink
Update actions reference to v0
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
  • Loading branch information
rsanchez15 committed Jul 16, 2024
1 parent fd1852b commit 71cd24c
Show file tree
Hide file tree
Showing 49 changed files with 144 additions and 144 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build_ddspipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
build_dev_utils:

name: build_dev_utils
uses: eProsima/eProsima-CI/.github/workflows/build_dev_utils.yml@main
uses: eProsima/eProsima-CI/.github/workflows/build_dev_utils.yml@v0
with:
single_version_build: ${{ inputs.single_version_build || false }}
configuration_branch: ${{ inputs.configuration_branch }}
Expand Down Expand Up @@ -166,28 +166,28 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Install yaml cpp dependency
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@main
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get dev-utils artifact
uses: eProsima/eProsima-CI/external/download-artifact@main
uses: eProsima/eProsima-CI/external/download-artifact@v0
with:
name: build_dev_utils_custom_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: install

- name: Get colcon.meta to build artifact
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -196,21 +196,21 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch DDS Pipe repositories
uses: eProsima/eProsima-CI/multiplatform/fetch_ddspipe_manual@main
uses: eProsima/eProsima-CI/multiplatform/fetch_ddspipe_manual@v0
with:
ddspipe_branch: ${{ inputs.ddspipe_branch || env.default_ddspipe_branch }}
destination_workspace: ${{ github.workspace }}/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}
workspace_dependencies: install
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_custom_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/install
Expand Down Expand Up @@ -244,28 +244,28 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Install yaml cpp dependency
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@main
uses: eProsima/eProsima-CI/multiplatform/install_yamlcpp@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get dev-utils artifact
uses: eProsima/eProsima-CI/external/download-artifact@main
uses: eProsima/eProsima-CI/external/download-artifact@v0
with:
name: build_dev_utils_${{ matrix.fastdds_version }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: install

- name: Get colcon.meta and .repos files to build artifact
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -274,21 +274,21 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch DDS Pipe repositories with vcs-tool
uses: eProsima/eProsima-CI/multiplatform/vcs_import@main
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0
with:
vcs_repos_file: ${{ github.workspace }}/dependencies.repos
destination_workspace: ${{ github.workspace }}/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}
workspace_dependencies: install
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_${{ matrix.fastdds_version }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/install
30 changes: 15 additions & 15 deletions .github/workflows/build_dev_utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
build_fastdds:

name: build_fastdds
uses: eProsima/eProsima-CI/.github/workflows/build_fastdds.yml@main
uses: eProsima/eProsima-CI/.github/workflows/build_fastdds.yml@v0
with:
single_version_build: ${{ inputs.single_version_build || false }}
configuration_branch: ${{ inputs.configuration_branch }}
Expand Down Expand Up @@ -211,23 +211,23 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get Fast DDS artifact
uses: eProsima/eProsima-CI/external/download-artifact@main
uses: eProsima/eProsima-CI/external/download-artifact@v0
with:
name: build_fastdds_custom_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: install

- name: Get colcon.meta and .repos files to build artifact
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -236,21 +236,21 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch dev-utils repositories
uses: eProsima/eProsima-CI/multiplatform/fetch_dev_utils_manual@main
uses: eProsima/eProsima-CI/multiplatform/fetch_dev_utils_manual@v0
with:
dev_utils_branch: ${{ inputs.dev_utils_branch || env.default_dev_utils_branch }}
destination_workspace: ${{ github.workspace }}/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}
workspace_dependencies: install
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_custom_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/install
Expand Down Expand Up @@ -284,23 +284,23 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get Fast DDS artifact
uses: eProsima/eProsima-CI/external/download-artifact@main
uses: eProsima/eProsima-CI/external/download-artifact@v0
with:
name: build_fastdds_${{ matrix.fastdds_version }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: install

- name: Get colcon.meta to build artifact
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -309,21 +309,21 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch dev-utils repositories with vcs-tool
uses: eProsima/eProsima-CI/multiplatform/vcs_import@main
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0
with:
vcs_repos_file: ${{ github.workspace }}/dependencies.repos
destination_workspace: ${{ github.workspace }}/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}
workspace_dependencies: install
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_${{ matrix.fastdds_version }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/install
24 changes: 12 additions & 12 deletions .github/workflows/build_fastdds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,17 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get colcon.meta file to build fastdds
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -201,22 +201,22 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch Fast DDS repositories
uses: eProsima/eProsima-CI/multiplatform/fetch_fastdds_manual@main
uses: eProsima/eProsima-CI/multiplatform/fetch_fastdds_manual@v0
with:
foonathan_memory_vendor_branch: ${{ inputs.foonathan_memory_vendor_branch || env.default_foonathan_memory_vendor_branch }}
fastcdr_branch: ${{ inputs.fastcdr_branch || env.default_fastcdr_branch }}
fastdds_branch: ${{ inputs.fastdds_branch || env.default_fastdds_branch }}
destination_workspace: ${{ github.workspace }}/artifact/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}/artifact
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_custom_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/artifact/install
Expand Down Expand Up @@ -246,17 +246,17 @@ jobs:
steps:

- name: Sync this repository
uses: eProsima/eProsima-CI/external/checkout@main
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src/eprosima-CI

- name: Install Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@main
uses: eProsima/eProsima-CI/multiplatform/install_fastdds_dependencies@v0
with:
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Get colcon.meta and .repos files to build fastdds
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@main
uses: eProsima/eProsima-CI/multiplatform/get_configurations_from_repo@v0
with:
source_repository_branch: ${{ inputs.configuration_branch || env.default_configuration_branch }}
colcon_meta_file_path: .github/workflows/configurations/metas/${{ matrix.os }}/colcon.meta
Expand All @@ -265,20 +265,20 @@ jobs:
repos_file_result: ${{ github.workspace }}/dependencies.repos

- name: Fetch Fast DDS repositories with vcs-tool
uses: eProsima/eProsima-CI/multiplatform/vcs_import@main
uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0
with:
vcs_repos_file: ${{ github.workspace }}/dependencies.repos
destination_workspace: ${{ github.workspace }}/artifact/src

- name: Build workspace
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ github.workspace }}/colcon.meta
workspace: ${{ github.workspace }}/artifact
cmake_build_type: ${{ matrix.cmake_build_type }}

- name: Upload binaries
uses: eProsima/eProsima-CI/external/upload-artifact@main
uses: eProsima/eProsima-CI/external/upload-artifact@v0
with:
name: ${{ env.artifact_prefix }}_${{ matrix.fastdds_version }}_${{ matrix.os }}_${{ matrix.cmake_build_type }}${{ inputs.artifacts_name_postfix || env.default_artifact_postfix }}
path: ${{ github.workspace }}/artifact/install
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ In order to use one of these artifacts, use the following action as a step:

```yml
- name: Get fastdds artifact
uses: eProsima/eProsima-CI/multiplatform/download_dependency@main
uses: eProsima/eProsima-CI/multiplatform/download_dependency@v0
with:
artifact_name: build_fastdds_ubuntu-20.04_Debug_nightly
workflow_source: build_fastdds.yml
Expand Down
2 changes: 1 addition & 1 deletion macos/install_colcon/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:

- name: Install colcon
uses: eProsima/eProsima-CI/macos/install_python_packages@main
uses: eProsima/eProsima-CI/macos/install_python_packages@v0
with:
packages: 'setuptools==58.3.0 colcon-common-extensions colcon-mixin'
upgrade: true
Expand Down
2 changes: 1 addition & 1 deletion multiplatform/asan_build_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:

- name: Build and test
id: build_and_test
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test@v0
with:
packages_names: ${{ inputs.packages_names }}
colcon_meta_file: ${{ inputs.colcon_meta_file }}
Expand Down
4 changes: 2 additions & 2 deletions multiplatform/clang_build_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
steps:

- name: Build
uses: eProsima/eProsima-CI/multiplatform/colcon_build@main
uses: eProsima/eProsima-CI/multiplatform/colcon_build@v0
with:
colcon_meta_file: ${{ inputs.colcon_meta_file }}
colcon_build_args: '--packages-up-to ${{ inputs.packages_names }}'
Expand All @@ -41,6 +41,6 @@ runs:
workspace_dependencies: ${{ inputs.workspace_dependencies }}

- name: Test clang
uses: eProsima/eProsima-CI/multiplatform/clang_tidy_check@main
uses: eProsima/eProsima-CI/multiplatform/clang_tidy_check@v0
with:
packages_names: ${{ inputs.packages_names }}
4 changes: 2 additions & 2 deletions multiplatform/clang_tidy_check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ runs:
steps:

- name: Run in ubuntu
uses: eProsima/eProsima-CI/ubuntu/clang_tidy_check@main
uses: eProsima/eProsima-CI/ubuntu/clang_tidy_check@v0
if: runner.os == 'Linux'
with:
build_directory: ${{ inputs.build_directory }}
packages_names: ${{ inputs.packages_names }}
result_file_name: ${{ inputs.result_file_name }}

- name: Run in windows
uses: eProsima/eProsima-CI/windows/clang_tidy_check@main
uses: eProsima/eProsima-CI/windows/clang_tidy_check@v0
if: runner.os == 'Windows'
with:
build_directory: ${{ inputs.build_directory }}
Expand Down
Loading

0 comments on commit 71cd24c

Please sign in to comment.