Skip to content

Commit aa02afe

Browse files
committed
integrate with my self-hosted conan
1 parent 566b699 commit aa02afe

1 file changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,34 +39,21 @@ jobs:
3939
with:
4040
cache_packages: true
4141

42-
- name: Try and restore Conan cache
43-
uses: actions/cache/restore@v4
44-
with:
45-
path: |
46-
conan_cache_save.tgz
47-
key: ${{ runner.os }}-conan-cache
48-
49-
- name: Perform Conan restore
50-
run: conan cache restore conan_cache_save.tgz
51-
continue-on-error: true # when it hasn't been found
52-
5342
- name: Setup Conan profile
5443
run: conan profile detect --force
5544

45+
- name: Setup Conan remote
46+
run: conan remote add lagoon https://conan.mlyoung.cool --force;
47+
conan remote login lagoon ci -p ${{ secrets.CONAN_PASSWORD }}
48+
5649
- name: Install more system deps
5750
run: sudo apt update; sudo apt install --yes clang ninja-build
5851

5952
- name: Build deps
6053
run: just conan
6154

62-
- name: Generate Conan cache
63-
run: conan cache save "*"
64-
65-
- name: Save Conan cache
66-
uses: actions/cache/save@v4
67-
with:
68-
path: conan_cache_save.tgz
69-
key: ${{ runner.os }}-conan-cache
55+
- name: Upload deps
56+
run: conan upload -r lagoon "*" --confirm
7057

7158
- name: Build
7259
run: just build

0 commit comments

Comments
 (0)