Update Conan remote

This commit is contained in:
Bart Thomee
2025-07-31 16:38:47 -04:00
parent 2977cbb411
commit 780963d5db
3 changed files with 10 additions and 32 deletions

View File

@@ -6,25 +6,23 @@ inputs:
runs:
using: composite
steps:
- name: export custom recipes
shell: bash
- name: add Ripple Conan remote
- name: add 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"
if conan remote list | grep -q "xrplf"; then
conan remote remove xrplf
echo "Removed conan remote xrplf"
fi
conan remote add --index 0 ripple "${CONAN_URL}"
echo "Added conan remote ripple at ${CONAN_URL}"
- name: try to authenticate to Ripple Conan remote
if: env.CONAN_LOGIN_USERNAME_RIPPLE != '' && env.CONAN_PASSWORD_RIPPLE != ''
conan remote add --index 0 xrplf "${CONAN_URL}"
echo "Added conan remote xrplf at ${CONAN_URL}"
- name: try to authenticate to Conan remote
if: env.CONAN_LOGIN_USERNAME_XRPLF != '' && env.CONAN_PASSWORD_XRPLF != ''
id: remote
shell: bash
run: |
echo "Authenticating to ripple remote..."
conan remote auth ripple --force
echo "Authenticating to xrplf remote..."
conan remote auth xrplf --force
conan remote list-users
- name: list missing binaries
id: binaries

View File

@@ -90,16 +90,6 @@ jobs:
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
conan config install conan/profiles/ -tf $(conan config home)/profiles/
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
uses: ./.github/actions/dependencies
with:

View File

@@ -85,16 +85,6 @@ jobs:
echo "${CONAN_GLOBAL_CONF}" >> $(conan config home)/global.conf
conan config install conan/profiles/ -tf $(conan config home)/profiles/
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
uses: ./.github/actions/dependencies
with: