Skip to content

Commit a73e980

Browse files
committed
Use explicit login with username and password
1 parent 7ffd6cc commit a73e980

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/export.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ defaults:
1515
shell: bash
1616

1717
env:
18-
# Note that `conan user` implicitly uses the environment variables
19-
# `CONAN_LOGIN_USERNAME_<REMOTE>` and `CONAN_PASSWORD_<REMOTE>`, see also
20-
# https://docs.conan.io/2/reference/environment.html#remote-login-variables.
2118
CONAN_REMOTE_URL: https://conan.ripplex.io
2219
CONAN_REMOTE_NAME: xrplf
23-
CONAN_LOGIN_USERNAME_XRPLF: ${{ secrets.CONAN_USERNAME }}
24-
CONAN_PASSWORD_XRPLF: ${{ secrets.CONAN_PASSWORD }}
2520

2621
jobs:
2722
export:
@@ -40,9 +35,9 @@ jobs:
4035
fi
4136
conan remote add --index 0 ${{ env.CONAN_REMOTE_NAME }} ${{ env.CONAN_REMOTE_URL }}
4237
echo "Added new conan remote '${{ env.CONAN_REMOTE_NAME }}' at ${{ env.CONAN_REMOTE_URL }}."
43-
- name: Verify Conan remote
38+
- name: Log into Conan remote
4439
run: |
45-
conan remote auth ${{ env.CONAN_REMOTE_NAME }} --force
40+
conan remote login ${{ env.CONAN_REMOTE_NAME }} ${{ secrets.CONAN_USERNAME }} --password "${{ secrets.CONAN_PASSWORD }}"
4641
conan remote list-users
4742
- name: Export the recipes
4843
working-directory: recipes

0 commit comments

Comments
 (0)