Skip to content

Commit 5fce17b

Browse files
authored
Add --force to auth
this is needed now that the repo allows anonymous access
1 parent 6855fca commit 5fce17b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/conan-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
conan profile detect
4343
conan remote add viamconan $CONAN_REMOTE_URL
44-
conan remote auth -cc core:non_interactive=True viamconan
44+
conan remote auth --force -cc core:non_interactive=True viamconan
4545
4646
- name: Create and upload package
4747
run: |
@@ -133,7 +133,7 @@ jobs:
133133
134134
conan profile detect
135135
conan remote add viamconan $CONAN_REMOTE_URL
136-
conan remote auth -cc core:non_interactive=True viamconan
136+
conan remote auth --force -cc core:non_interactive=True viamconan
137137
138138
- name: Create and upload package
139139
run: |
@@ -171,7 +171,7 @@ jobs:
171171
conan profile detect
172172
173173
conan remote add viamconan $env:CONAN_REMOTE_URL
174-
conan remote auth -cc core:non_interactive=True viamconan
174+
conan remote auth --force -cc core:non_interactive=True viamconan
175175
env:
176176
CONAN_REMOTE_URL: ${{ secrets.conanRemote }}
177177
CONAN_LOGIN_USERNAME_VIAMCONAN: ${{ secrets.conanUsername}}

0 commit comments

Comments
 (0)