Skip to content

Commit 62242ae

Browse files
committed
Use hard coded actions path
1 parent 4e9c526 commit 62242ae

File tree

11 files changed

+28
-105
lines changed

11 files changed

+28
-105
lines changed

.github/actions/build-verified/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ inputs:
2222
runs:
2323
using: "composite"
2424
steps:
25-
- uses: ./.github/actions/setup/
26-
- uses: ./.github/actions/setup-anchor/
27-
- uses: ./.github/actions/setup-solana-verify/
25+
- uses: Woody4618/github-action/.github/actions/setup/
26+
- uses: Woody4618/github-action/.github/actions/setup-anchor/
27+
- uses: Woody4618/github-action/.github/actions/setup-solana-verify/
2828
with:
2929
verify-version: ${{ inputs.verify-version }}
3030

.github/actions/deploy/action.yaml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/actions/idl-upload/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ inputs:
1717
runs:
1818
using: "composite"
1919
steps:
20-
- uses: ./.github/actions/setup/
21-
- uses: ./.github/actions/setup-anchor/
20+
- uses: Woody4618/github-action/.github/actions/setup/
21+
- uses: Woody4618/github-action/.github/actions/setup-anchor/
2222
- run: echo "$DEPLOY_KEYPAIR" > ./deploy-keypair.json && chmod 600 ./deploy-keypair.json
2323
shell: bash
2424
env:
@@ -42,4 +42,4 @@ runs:
4242
4343
- run: rm ./deploy-keypair.json
4444
shell: bash
45-
if: always()
45+
if: always()

.github/actions/program-upgrade/action.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ inputs:
2323
runs:
2424
using: "composite"
2525
steps:
26-
- uses: ./.github/actions/setup/
27-
- uses: ./.github/actions/setup-solana/
28-
26+
- uses: Woody4618/github-action/.github/actions/setup/
27+
- uses: Woody4618/github-action/.github/actions/setup-solana/
28+
2929
- name: Write keypairs
3030
shell: bash
3131
run: |
@@ -73,20 +73,20 @@ runs:
7373
echo "Error: No buffer provided"
7474
exit 1
7575
fi
76-
76+
7777
# Get current and new program sizes
7878
CURRENT_SIZE=$(solana program show "${{ inputs.program-id }}" -u "${{ inputs.rpc-url }}" | grep "Data Length:" | cut -d ":" -f2 | cut -d " " -f2)
7979
NEW_SIZE=$(wc -c < "./target/deploy/${{ inputs.program }}.so")
8080
echo "Current program size: $CURRENT_SIZE bytes"
8181
echo "New program size: $NEW_SIZE bytes"
82-
82+
8383
# Extend program if needed
8484
if [ $NEW_SIZE -gt $CURRENT_SIZE ]; then
8585
echo "Program needs to be extended"
8686
solana program extend "${{ inputs.program-id }}" $((NEW_SIZE - CURRENT_SIZE)) -u "${{ inputs.rpc-url }}" -k ./deploy-keypair.json
8787
echo "Program extended successfully"
8888
fi
89-
89+
9090
# Upgrade program
9191
solana program upgrade "${{ inputs.buffer }}" "${{ inputs.program-id }}" -k ./deploy-keypair.json -u "${{ inputs.rpc-url }}"
9292
@@ -101,4 +101,4 @@ runs:
101101
shell: bash
102102
run: |
103103
rm -f ./deploy-keypair.json
104-
rm -f ./program-keypair.json
104+
rm -f ./program-keypair.json

.github/actions/run-tests/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- uses: ./.github/actions/extract-versions/
11+
- uses: Woody4618/github-action/.github/actions/extract-versions/
1212
id: versions
1313

14-
- uses: ./.github/actions/setup/
14+
- uses: Woody4618/github-action/.github/actions/setup/
1515

16-
- uses: ./.github/actions/setup-solana/
16+
- uses: Woody4618/github-action/.github/actions/setup-solana/
1717

18-
- uses: ./.github/actions/setup-anchor/
18+
- uses: Woody4618/github-action/.github/actions/setup-anchor/
1919
with:
2020
anchor-version: ${{ env.ANCHOR_VERSION }}
2121

.github/actions/setup-anchor/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- uses: ./.github/actions/setup/
12-
- uses: ./.github/actions/setup-solana/
11+
- uses: Woody4618/github-action/.github/actions/setup/
12+
- uses: Woody4618/github-action/.github/actions/setup-solana/
1313

1414
- name: Debug Version Values
1515
shell: bash

.github/actions/verify-build/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ inputs:
4747
runs:
4848
using: "composite"
4949
steps:
50-
- uses: ./.github/actions/setup/
51-
- uses: ./.github/actions/setup-solana/
52-
- uses: ./.github/actions/setup-solana-verify/
50+
- uses: Woody4618/github-action/.github/actions/setup/
51+
- uses: Woody4618/github-action/.github/actions/setup-solana/
52+
- uses: Woody4618/github-action/.github/actions/setup-solana-verify/
5353
with:
5454
verify-version: ${{ inputs.verify-version }}
5555

.github/actions/write-idl-buffer/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ outputs:
2525
runs:
2626
using: "composite"
2727
steps:
28-
- uses: ./.github/actions/setup/
29-
- uses: ./.github/actions/setup-anchor/
28+
- uses: Woody4618/github-action/.github/actions/setup/
29+
- uses: Woody4618/github-action/.github/actions/setup-anchor/
3030

3131
- name: Write keypair
3232
shell: bash

.github/actions/write-program-buffer/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ outputs:
2525
runs:
2626
using: "composite"
2727
steps:
28-
- uses: ./.github/actions/setup/
29-
- uses: ./.github/actions/setup-solana/
28+
- uses: Woody4618/github-action/.github/actions/setup/
29+
- uses: Woody4618/github-action/.github/actions/setup-solana/
3030

3131
- name: Write keypair
3232
shell: bash

.github/workflows/reusable-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
1717

18-
- uses: ./.github/actions/run-tests/
18+
- uses: Woody4618/github-action/.github/actions/run-tests/
1919
with:
2020
program: ${{ github.event.inputs.program }}

0 commit comments

Comments
 (0)