Skip to content

Commit fd8caa9

Browse files
committed
Fix Go CLI test in release workflow
Use --prefix flag so keygen output filenames match sign/verify inputs
1 parent 01b4532 commit fd8caa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ jobs:
8080
./bin/schemapin-keygen --help
8181
8282
# Test signing and verification
83-
./bin/schemapin-keygen --developer "Test Developer" --contact "test@example.com"
83+
./bin/schemapin-keygen --developer "Test Developer" --contact "test@example.com" --prefix test_key
8484
echo '{"name": "test", "type": "object"}' > test_schema.json
85-
./bin/schemapin-sign --key private_key.pem --schema test_schema.json --output signed_schema.json
86-
./bin/schemapin-verify --schema signed_schema.json --public-key public_key.pem
85+
./bin/schemapin-sign --key test_key_private.pem --schema test_schema.json --output signed_schema.json
86+
./bin/schemapin-verify --schema signed_schema.json --public-key test_key_public.pem
8787
8888
- name: Cross-compile binaries
8989
run: |

0 commit comments

Comments
 (0)