Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6dc383b

Browse files
committed
Fix buffer size extraction
1 parent602f47a commit6dc383b

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ runs:
5151
if [ $EXIT_CODE -eq 0 ]; then
5252
echo "exists=true" >> $GITHUB_OUTPUT
5353
echo "Program exists, checking size..."
54-
PROGRAM_DATA_LEN=$(echo "$PROGRAM_INFO" | grep "Program data len:" | cut -d ' ' -f4)
55-
echo "Current program data length: $PROGRAM_DATA_LEN"
56-
echo "data_len=$PROGRAM_DATA_LEN" >> $GITHUB_OUTPUT
54+
CURRENT_SIZE=$(echo "$PROGRAM_INFO" | grep "Data Length:" |sed -E 's/.*Data Length: ([0-9]+).*/\1/' |cut -d ' ' -f1)
55+
echo "Current program data length: $CURRENT_SIZE"
56+
echo "data_len=$CURRENT_SIZE" >> $GITHUB_OUTPUT
5757
else
5858
if echo "$PROGRAM_INFO" | grep -q "Unable to find the account"; then
5959
echo "exists=false" >> $GITHUB_OUTPUT

‎readme.md‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,45 @@ npx ts-node scripts/squad-closebuffer.ts \
161161
--keypair~/.config/solana/id.json \
162162
--program"BhV84MZrRnEvtWLdWMRJGJr1GbusxfVMHAwc3pq92g4z"
163163
```
164+
165+
#Release v0.2.1
166+
167+
##Bug Fixes
168+
169+
- Fixed program size extraction in buffer write action
170+
171+
#Release v0.2.0
172+
173+
##Major Changes
174+
175+
- Combined setup actions into a single`setup-all` action
176+
- Improved version management with override capabilities
177+
- Added support for feature flags in builds and tests
178+
- Enhanced caching strategy for faster builds
179+
180+
##New Features
181+
182+
- Added version override inputs:
183+
-`override-solana-version`
184+
-`override-anchor-version`
185+
- Added feature flags support for tests
186+
- Added toml-cli caching
187+
- Improved error handling in buffer management
188+
189+
##Breaking Changes
190+
191+
- Removed individual setup actions in favor of`setup-all`
192+
- Changed input parameter naming convention (using underscores instead of hyphens)
193+
- Simplified build-verified action inputs
194+
195+
##Bug Fixes
196+
197+
- Fixed version extraction logic
198+
- Fixed cache key generation
199+
- Fixed buffer authority handling
200+
201+
##Documentation
202+
203+
- Updated README with detailed action descriptions
204+
- Added comprehensive input/output documentation
205+
- Added buffer cleanup instructions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp