Compare commits

4 Commits

Author SHA1 Message Date
adb538cbc4 Fix JSONL inclusion?
All checks were successful
Generate Release / validate_and_release (push) Successful in 6s
2026-01-03 23:42:06 +00:00
d00eb5cf6c Try fix included files again
All checks were successful
Generate Release / validate_and_release (push) Successful in 6s
2026-01-03 23:39:28 +00:00
247a997353 Fix path to JSONL
All checks were successful
Generate Release / validate_and_release (push) Successful in 5s
2026-01-03 23:38:24 +00:00
cc14397588 Fix YAML Parsing in jsonl generator
All checks were successful
Generate Release / validate_and_release (push) Successful in 5s
2026-01-03 23:36:43 +00:00
2 changed files with 4 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ jobs:
exit 1 exit 1
fi fi
echo "File verified" echo "File verified"
pwd
- name: Create Release - name: Create Release
if: success() if: success()
@@ -44,5 +45,5 @@ jobs:
tag_name: ${{ steps.timestamp.outputs.date }} tag_name: ${{ steps.timestamp.outputs.date }}
name: ${{ steps.timestamp.outputs.date }} name: ${{ steps.timestamp.outputs.date }}
token: ${{ secrets.OWLBOT_KEY }} token: ${{ secrets.OWLBOT_KEY }}
files: | files: |-
release-data.jsonl pis-objects.jsonl

View File

@@ -11,7 +11,7 @@ if (!inputFile) {
try { try {
const fileContent = fs.readFileSync(inputFile, 'utf8'); const fileContent = fs.readFileSync(inputFile, 'utf8');
const data = yaml.loadAll(fileContent); const data = yaml.parse(fileContent);
if (!data || !data.pis || !Array.isArray(data.pis)) { if (!data || !data.pis || !Array.isArray(data.pis)) {
throw new Error('Invalid structure: Expected object with "pis" array.'); throw new Error('Invalid structure: Expected object with "pis" array.');