Skip to content

Commit 80a4bdd

Browse files
committed
Wait for program upgrade to finalize
1 parent 98fcccb commit 80a4bdd

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/reusable-build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,11 @@ jobs:
380380
keypair: ${{ env.DEPLOYER_KEYPAIR }}
381381
idl-buffer: ${{ steps.idl-buffer.outputs.buffer }}
382382

383+
# Add small delay to ensure program buffer is finalized because sometimes verify can not find the deployed slot
384+
- name: Wait for program buffer to finalize
385+
if: inputs.use-squads == false
386+
run: sleep 14
387+
383388
- name: Verify Build
384389
uses: solana-developers/github-actions/.github/actions/[email protected]
385390
id: verify-build

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.4] - 2024-03-21
9+
10+
### Changed
11+
12+
- Added delay before verify build step to ensure program upgrade is finalized before verify
13+
814
## [0.2.2] - 2024-03-21
915

1016
### Changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737

3838
jobs:
3939
build:
40-
uses: solana-developers/github-workflows/.github/workflows/[email protected].3
40+
uses: solana-developers/github-workflows/.github/workflows/[email protected].4
4141
with:
4242
program: "hello_world"
4343
network: "devnet"
@@ -68,7 +68,7 @@ on:
6868

6969
jobs:
7070
build:
71-
uses: solana-developers/github-workflows/.github/workflows/[email protected].3
71+
uses: solana-developers/github-workflows/.github/workflows/[email protected].4
7272
with:
7373
program: "transaction_example"
7474
network: "mainnet"
@@ -134,7 +134,7 @@ on:
134134

135135
jobs:
136136
test:
137-
uses: solana-developers/github-workflows/.github/workflows/[email protected].3
137+
uses: solana-developers/github-workflows/.github/workflows/[email protected].4
138138
with:
139139
program: ${{ 'transaction_example' }}
140140
```

0 commit comments

Comments
 (0)