File tree 1 file changed +14
-0
lines changed
.github/actions/setup-solana/build-contracts
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,24 @@ description: Build Solana contracts
4
4
runs :
5
5
using : composite
6
6
steps :
7
+ - name : Get CCIP Revision
8
+ id : get_ccip_chains_solana_revision
9
+ shell : bash
10
+ run : |
11
+ # TODO get the short revision from the go.mod file
12
+ short_revision=8973fd0c912b
13
+
14
+ # TODO map from the short to the long revision value, the checkout action doesn't support short revisions
15
+ long_revision=8973fd0c912b8f5bd12283dca7e599d0241b424f
16
+
17
+ echo "CHAINLINK_CCIP_COMMIT_SHORT=${short_revision}" >> $GITHUB_ENV
18
+ echo "CHAINLINK_CCIP_COMMIT_LONG=${long_revision}" >> $GITHUB_ENV
7
19
- name : Checkout chainlink-ccip
8
20
uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
9
21
with :
10
22
repository : smartcontractkit/chainlink-ccip
23
+ ref : ${{ env.CHAINLINK_CCIP_COMMIT_LONG }}
24
+ fetch-depth : 0
11
25
path : chainlink-ccip
12
26
- name : Get Anchor Version
13
27
id : get_anchor_version
You can’t perform that action at this time.
0 commit comments