Compare commits
4 Commits
d058ba8eed
...
20260103_2
| Author | SHA1 | Date | |
|---|---|---|---|
| adb538cbc4 | |||
| d00eb5cf6c | |||
| 247a997353 | |||
| cc14397588 |
@@ -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
|
||||||
|
|||||||
@@ -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.');
|
||||||
|
|||||||
Reference in New Issue
Block a user