mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fixes
This commit is contained in:
22
.github/workflows/build-selected-commit.yml
vendored
22
.github/workflows/build-selected-commit.yml
vendored
@@ -56,7 +56,7 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ["self-hosted", "Linux", "X64", "heavy"]
|
||||
container: inputs.build_container
|
||||
container: ${{ inputs.build_container }}
|
||||
steps:
|
||||
- name: Checkout this workflow
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||
@@ -64,16 +64,20 @@ jobs:
|
||||
sparse-checkout: |
|
||||
.github
|
||||
conan
|
||||
- name: Move workflow files on a side
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
mv .github conan ${{ runner.temp }}
|
||||
rm -rf .git
|
||||
- name: Checkout the commit to build
|
||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||
with:
|
||||
ref: inputs.commit
|
||||
sparse-checkout: |
|
||||
conanfile.py
|
||||
CMakeLists.txt
|
||||
cmake
|
||||
include
|
||||
src
|
||||
ref: ${{ inputs.commit }}
|
||||
- name: Restore workflow files
|
||||
run: |
|
||||
rm -rf .github conan
|
||||
mv ${{ runner.temp }}/.github .
|
||||
mv ${{ runner.temp }}/conan .
|
||||
- name: Prepare runner
|
||||
uses: XRPLF/actions/.github/actions/prepare-runner@638e0dc11ea230f91bd26622fb542116bb5254d5
|
||||
with:
|
||||
@@ -90,7 +94,7 @@ jobs:
|
||||
cmake --version
|
||||
|
||||
echo 'Checking compiler version.'
|
||||
${CC}
|
||||
${CC} --version
|
||||
|
||||
echo 'Checking Conan version.'
|
||||
conan --version
|
||||
|
||||
Reference in New Issue
Block a user