fix: Don't use steps.conan.outputs.conan_profile as it doesn't exist … (#2056)

This commit is contained in:
Ayaz Salikhov
2025-04-29 13:32:47 +01:00
committed by GitHub
parent eef85b520a
commit fadd60e68a
3 changed files with 13 additions and 8 deletions

View File

@@ -94,7 +94,6 @@ jobs:
- name: Setup conan
uses: ./.github/actions/setup_conan
id: conan
with:
conan_profile: ${{ inputs.conan_profile }}

View File

@@ -1,8 +1,12 @@
name: Check new libXRPL
on:
repository_dispatch:
types: [check_libxrpl]
env:
CONAN_PROFILE: gcc
jobs:
build:
name: Build Clio / `libXRPL ${{ github.event.client_payload.version }}`
@@ -27,14 +31,13 @@ jobs:
- name: Setup conan
uses: ./.github/actions/setup_conan
id: conan
with:
conan_profile: gcc
conan_profile: ${{ env.CONAN_PROFILE }}
- name: Run conan and cmake
uses: ./.github/actions/generate
with:
conan_profile: ${{ steps.conan.outputs.conan_profile }}
conan_profile: ${{ env.CONAN_PROFILE }}
conan_cache_hit: ${{ steps.restore_cache.outputs.conan_cache_hit }}
build_type: Release

View File

@@ -1,4 +1,5 @@
name: Clang-tidy check
on:
schedule:
- cron: "0 9 * * 1-5"
@@ -10,6 +11,9 @@ on:
- .github/workflows/clang-tidy.yml
workflow_call:
env:
CONAN_PROFILE: clang
jobs:
clang_tidy:
runs-on: heavy
@@ -32,9 +36,8 @@ jobs:
- name: Setup conan
uses: ./.github/actions/setup_conan
id: conan
with:
conan_profile: clang
conan_profile: ${{ env.CONAN_PROFILE }}
- name: Restore cache
uses: ./.github/actions/restore_cache
@@ -42,12 +45,12 @@ jobs:
with:
conan_dir: ${{ env.CONAN_USER_HOME }}/.conan
ccache_dir: ${{ env.CCACHE_DIR }}
conan_profile: ${{ steps.conan.outputs.conan_profile }}
conan_profile: ${{ env.CONAN_PROFILE }}
- name: Run conan and cmake
uses: ./.github/actions/generate
with:
conan_profile: ${{ steps.conan.outputs.conan_profile }}
conan_profile: ${{ env.CONAN_PROFILE }}
conan_cache_hit: ${{ steps.restore_cache.outputs.conan_cache_hit }}
build_type: Release