mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Update Conan remote
This commit is contained in:
22
.github/actions/dependencies/action.yml
vendored
22
.github/actions/dependencies/action.yml
vendored
@@ -6,25 +6,23 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: export custom recipes
|
- name: add Conan remote
|
||||||
shell: bash
|
|
||||||
- name: add Ripple Conan remote
|
|
||||||
if: env.CONAN_URL != ''
|
if: env.CONAN_URL != ''
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if conan remote list | grep -q "ripple"; then
|
if conan remote list | grep -q "xrplf"; then
|
||||||
conan remote remove ripple
|
conan remote remove xrplf
|
||||||
echo "Removed conan remote ripple"
|
echo "Removed conan remote xrplf"
|
||||||
fi
|
fi
|
||||||
conan remote add --index 0 ripple "${CONAN_URL}"
|
conan remote add --index 0 xrplf "${CONAN_URL}"
|
||||||
echo "Added conan remote ripple at ${CONAN_URL}"
|
echo "Added conan remote xrplf at ${CONAN_URL}"
|
||||||
- name: try to authenticate to Ripple Conan remote
|
- name: try to authenticate to Conan remote
|
||||||
if: env.CONAN_LOGIN_USERNAME_RIPPLE != '' && env.CONAN_PASSWORD_RIPPLE != ''
|
if: env.CONAN_LOGIN_USERNAME_XRPLF != '' && env.CONAN_PASSWORD_XRPLF != ''
|
||||||
id: remote
|
id: remote
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "Authenticating to ripple remote..."
|
echo "Authenticating to xrplf remote..."
|
||||||
conan remote auth ripple --force
|
conan remote auth xrplf --force
|
||||||
conan remote list-users
|
conan remote list-users
|
||||||
- name: list missing binaries
|
- name: list missing binaries
|
||||||
id: binaries
|
id: binaries
|
||||||
|
|||||||
10
.github/workflows/macos.yml
vendored
10
.github/workflows/macos.yml
vendored
@@ -90,16 +90,6 @@ jobs:
|
|||||||
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
|
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
|
||||||
conan config install conan/profiles/ -tf $(conan config home)/profiles/
|
conan config install conan/profiles/ -tf $(conan config home)/profiles/
|
||||||
conan profile show
|
conan profile show
|
||||||
- name: add Ripple Conan remote
|
|
||||||
if: env.CONAN_URL != ''
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
if conan remote list | grep -q "ripple"; then
|
|
||||||
conan remote remove ripple
|
|
||||||
echo "Removed conan remote ripple"
|
|
||||||
fi
|
|
||||||
conan remote add --index 0 ripple "${CONAN_URL}"
|
|
||||||
echo "Added conan remote ripple at ${CONAN_URL}"
|
|
||||||
- name: build dependencies
|
- name: build dependencies
|
||||||
uses: ./.github/actions/dependencies
|
uses: ./.github/actions/dependencies
|
||||||
with:
|
with:
|
||||||
|
|||||||
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
@@ -85,16 +85,6 @@ jobs:
|
|||||||
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
|
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
|
||||||
conan config install conan/profiles/ -tf $(conan config home)/profiles/
|
conan config install conan/profiles/ -tf $(conan config home)/profiles/
|
||||||
conan profile show
|
conan profile show
|
||||||
- name: add Ripple Conan remote
|
|
||||||
if: env.CONAN_URL != ''
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
if conan remote list | grep -q "ripple"; then
|
|
||||||
conan remote remove ripple
|
|
||||||
echo "Removed conan remote ripple"
|
|
||||||
fi
|
|
||||||
conan remote add --index 0 ripple "${CONAN_URL}"
|
|
||||||
echo "Added conan remote ripple at ${CONAN_URL}"
|
|
||||||
- name: build dependencies
|
- name: build dependencies
|
||||||
uses: ./.github/actions/dependencies
|
uses: ./.github/actions/dependencies
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user