Skip to content

Commit 53ebcad

Browse files
cache and restore dumped accounts
1 parent b3f76ff commit 53ebcad

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

template/base/.github/workflows/main.yml.njk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ jobs:
9898
path: ./**/*.so
9999
key: {% raw %}${{ runner.os }}-builds-${{ github.sha }}{% endraw %}
100100

101+
- name: Save Dumped Accounts For Client Jobs
102+
uses: actions/cache/save@v4
103+
with:
104+
path: ./target/deploy/*.json
105+
key: {% raw %}${{ runner.os }}-accounts-${{ github.sha }}{% endraw %}
106+
101107
test_programs:
102108
name: Test Programs
103109
runs-on: ubuntu-latest
@@ -188,6 +194,12 @@ jobs:
188194
path: ./**/*.so
189195
key: {% raw %}${{ runner.os }}-builds-${{ github.sha }}{% endraw %}
190196

197+
- name: Restore Dumped Accounts For Client Jobs
198+
uses: actions/cache/restore@v4
199+
with:
200+
path: ./target/deploy/*.json
201+
key: {% raw %}${{ runner.os }}-accounts-${{ github.sha }}{% endraw %}
202+
191203
- name: Test Client JS
192204
run: pnpm clients:js:test
193205
{% endif %}

0 commit comments

Comments
 (0)