mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Composite actions must have a shell defined in each step
This commit is contained in:
2
.github/actions/build/action.yml
vendored
2
.github/actions/build/action.yml
vendored
@@ -30,6 +30,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: CMake configure
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.build_dir }}
|
||||
run: |
|
||||
cmake \
|
||||
@@ -41,6 +42,7 @@ runs:
|
||||
${{ inputs.cmake_args }} \
|
||||
..
|
||||
- name: CMake build
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.build_dir }}
|
||||
run: |
|
||||
cmake --build . \
|
||||
|
||||
4
.github/actions/conan-configure/action.yml
vendored
4
.github/actions/conan-configure/action.yml
vendored
@@ -27,16 +27,19 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Check configuration
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Checking Conan version."
|
||||
conan --version
|
||||
- name: Install Conan profile
|
||||
shell: bash
|
||||
run: |
|
||||
echo "${{ inputs.conan_global_conf }}" >> $(conan config home)/global.conf
|
||||
conan config install conan/profiles/default -tf $(conan config home)/profiles/
|
||||
echo "Installed Conan profile:"
|
||||
conan profile show
|
||||
- name: Add Conan remote
|
||||
shell: bash
|
||||
run: |
|
||||
# Remove the remote if it already exists. This can occur on self-hosted
|
||||
# runners where the workspace is not cleaned up between runs.
|
||||
@@ -47,6 +50,7 @@ runs:
|
||||
conan remote add --index 0 ${{ inputs.conan_remote_name }} ${{ inputs.conan_remote_url }}
|
||||
echo "Added new conan remote '${{ inputs.conan_remote_name }}' at ${{ inputs.conan_remote_url }}."
|
||||
- name: Log into Conan remote
|
||||
shell: bash
|
||||
run: |
|
||||
conan remote login ${{ inputs.conan_remote_name }} ${{ inputs.conan_remote_username }} --password "${{ inputs.conan_remote_password }}"
|
||||
conan remote list-users
|
||||
|
||||
@@ -26,6 +26,7 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install Conan dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p ${{ inputs.build_dir }}
|
||||
cd ${{ inputs.build_dir }}
|
||||
@@ -37,4 +38,5 @@ runs:
|
||||
--settings:all build_type=${{ inputs.build_type }} \
|
||||
..
|
||||
- name: Upload Conan dependencies
|
||||
shell: bash
|
||||
run: conan upload '*' --confirm --check --remote ${{ inputs.conan_remote_name }}
|
||||
|
||||
Reference in New Issue
Block a user