Skip to content

Commit 3f6662e

Browse files
committed
[actions] Introduce a cache-only action that runs periodically.
1 parent 151e63f commit 3f6662e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Cache Creation (Dependencies)
2+
run-name: Cache Ceration (Dependencies)
3+
4+
on:
5+
push:
6+
paths:
7+
source/tools/conanfile.txt
8+
source/code/conanfile.txt
9+
source/code/conanprofiles.txt
10+
source/code/fbuild.bff
11+
schedule:
12+
- cron: '30 6 * * 1,5'
13+
workflow_dispatch:
14+
15+
jobs:
16+
create-cache:
17+
strategy:
18+
matrix:
19+
os: [windows-latest, ubuntu-latest]
20+
name: Create Dependencies Cache
21+
runs-on: ${{ matrix.os }}
22+
steps:
23+
- name: Setup Conan2
24+
uses: iceshard-engine/.github/.github/actions/conan2@main
25+
with:
26+
conan-cache: true
27+
conan-cache-version: 'v1'
28+
conan-config-url: https://github.com/iceshard-engine/conan-config.git
29+
30+
- name: Setup IBT
31+
uses: iceshard-engine/.github/.github/actions/ibt-wks@main
32+
with:
33+
script_basename: 'ice'
34+
platform-android: false
35+
platform-web: false
36+
workspace-cache: false

0 commit comments

Comments
 (0)