Compare commits
4 Commits
d058ba8eed
...
20260103_2
| Author | SHA1 | Date | |
|---|---|---|---|
| adb538cbc4 | |||
| d00eb5cf6c | |||
| 247a997353 | |||
| cc14397588 |
@@ -33,6 +33,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
echo "File verified"
|
||||
pwd
|
||||
|
||||
- name: Create Release
|
||||
if: success()
|
||||
@@ -44,5 +45,5 @@ jobs:
|
||||
tag_name: ${{ steps.timestamp.outputs.date }}
|
||||
name: ${{ steps.timestamp.outputs.date }}
|
||||
token: ${{ secrets.OWLBOT_KEY }}
|
||||
files: |
|
||||
release-data.jsonl
|
||||
files: |-
|
||||
pis-objects.jsonl
|
||||
|
||||
@@ -11,7 +11,7 @@ if (!inputFile) {
|
||||
|
||||
try {
|
||||
const fileContent = fs.readFileSync(inputFile, 'utf8');
|
||||
const data = yaml.loadAll(fileContent);
|
||||
const data = yaml.parse(fileContent);
|
||||
|
||||
if (!data || !data.pis || !Array.isArray(data.pis)) {
|
||||
throw new Error('Invalid structure: Expected object with "pis" array.');
|
||||
|
||||
Reference in New Issue
Block a user