Skip to content

Commit cdb0eeb

Browse files
committed
Update reusable-build.yaml
1 parent 7fdce90 commit cdb0eeb

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

.github/workflows/reusable-build.yaml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ jobs:
8484
echo "MULTISIG_VAULT=${{ secrets.DEVNET_MULTISIG_VAULT }}" >> $GITHUB_ENV
8585
fi
8686
87-
- uses: ./.github/actions/extract-versions/
88-
id: versions
87+
- name: Extract Versions
88+
uses: Woody4618/github-action/.github/actions/extract-versions@v0.1.0
8989

90-
- uses: ./.github/actions/setup/
90+
- name: Setup Environment
91+
uses: Woody4618/github-action/.github/actions/[email protected]
9192

9293
- name: Debug Environment Before Anchor Setup
9394
run: |
@@ -96,10 +97,10 @@ jobs:
9697
echo "==========================="
9798
9899
- name: Install Solana
99-
uses: ./.github/actions/setup-solana
100+
uses: Woody4618/github-action/.github/actions/setup-solana@v0.1.0
100101

101102
- name: Install Anchor
102-
uses: ./.github/actions/setup-anchor
103+
uses: Woody4618/github-action/.github/actions/setup-anchor@v0.1.0
103104
with:
104105
anchor-version: ${{ env.ANCHOR_VERSION }}
105106

@@ -146,13 +147,15 @@ jobs:
146147
echo "Anchor.toml contents:"
147148
cat Anchor.toml
148149
149-
- uses: ./.github/actions/build-anchor/
150+
- name: Build Anchor
151+
uses: Woody4618/github-action/.github/actions/[email protected]
150152
with:
151153
testing: false
152154
devnet: ${{ inputs.network == 'devnet' }}
153155
program: ${{ env.PROGRAM_NAME }}
154156

155-
- uses: ./.github/actions/build-verified/
157+
- name: Build Verified
158+
uses: Woody4618/github-action/.github/actions/[email protected]
156159
id: build-verified
157160
with:
158161
verify-version: ${{ env.SOLANA_VERIFY_VERSION }}
@@ -209,7 +212,8 @@ jobs:
209212
echo "SO file: ./artifacts/build/${{ env.PROGRAM_NAME }}-so/target/deploy/${{ env.PROGRAM_NAME }}.so"
210213
echo "IDL file: ./artifacts/build/${{ env.PROGRAM_NAME }}-idl/target/idl/${{ env.PROGRAM_NAME }}.json"
211214
212-
- uses: ./.github/actions/write-program-buffer/
215+
- name: Write Program Buffer
216+
uses: Woody4618/github-action/.github/actions/[email protected]
213217
id: program-buffer
214218
if: inputs.deploy == 'true'
215219
with:
@@ -219,7 +223,8 @@ jobs:
219223
keypair: ${{ env.DEPLOYER_KEYPAIR }}
220224
buffer-authority-address: ${{ inputs.use-squads == 'true' && env.MULTISIG_VAULT || env.DEPLOYER_ADDRESS }}
221225

222-
- uses: ./.github/actions/write-idl-buffer/
226+
- name: Write IDL Buffer
227+
uses: Woody4618/github-action/.github/actions/[email protected]
223228
id: idl-buffer
224229
if: inputs.upload_idl == 'true'
225230
with:
@@ -229,7 +234,8 @@ jobs:
229234
keypair: ${{ env.DEPLOYER_KEYPAIR }}
230235
idl-authority: ${{ inputs.use-squads == 'true' && env.MULTISIG_VAULT || env.DEPLOYER_ADDRESS }}
231236

232-
- uses: ./.github/actions/program-upgrade/
237+
- name: Program Upgrade
238+
uses: Woody4618/github-action/.github/actions/[email protected]
233239
if: inputs.deploy == 'true' && inputs.use-squads == 'false'
234240
with:
235241
program-id: ${{ env.PROGRAM_ID }}
@@ -239,15 +245,17 @@ jobs:
239245
keypair: ${{ env.DEPLOYER_KEYPAIR }}
240246
program-keypair: ${{ secrets.PROGRAM_ADDRESS_KEYPAIR }}
241247

242-
- uses: ./.github/actions/idl-upload/
248+
- name: IDL Upload
249+
uses: Woody4618/github-action/.github/actions/[email protected]
243250
if: inputs.upload_idl == 'true' && inputs.use-squads == 'false'
244251
with:
245252
program-id: ${{ env.PROGRAM_ID }}
246253
rpc-url: ${{ env.DEPLOY_URL }}
247254
keypair: ${{ env.DEPLOYER_KEYPAIR }}
248255
idl-buffer: ${{ steps.idl-buffer.outputs.buffer }}
249256

250-
- uses: ./.github/actions/verify-build/
257+
- name: Verify Build
258+
uses: Woody4618/github-action/.github/actions/[email protected]
251259
id: verify-build
252260
if: inputs.verify == 'true'
253261
with:

0 commit comments

Comments
 (0)