Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dull-horses-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-solana-program": patch
---

Cache and restore external accounts
12 changes: 8 additions & 4 deletions template/base/.github/workflows/main.yml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ jobs:
path: ./target/deploy/*.so
if-no-files-found: error

- name: Save Program Builds For Client Jobs
- name: Save Client Artifacts
uses: actions/cache/save@v4
with:
path: ./**/*.so
path: |
./**/*.so
./target/deploy/*.json
key: {% raw %}${{ runner.os }}-builds-${{ github.sha }}{% endraw %}

test_programs:
Expand Down Expand Up @@ -182,10 +184,12 @@ jobs:
with:
solana: true

- name: Restore Program Builds
- name: Restore Client Artifacts
uses: actions/cache/restore@v4
with:
path: ./**/*.so
path: |
./**/*.so
./target/deploy/*.json
key: {% raw %}${{ runner.os }}-builds-${{ github.sha }}{% endraw %}

- name: Test Client JS
Expand Down