diff --git a/.github/workflows/json_fields.yml b/.github/workflows/json_fields.yml index 71e59f35..675d59ab 100644 --- a/.github/workflows/json_fields.yml +++ b/.github/workflows/json_fields.yml @@ -36,7 +36,7 @@ jobs: uses: alexrogalskiy/github-action-json-fields@master id: process_json env: - target_file: "$TMPDIR/sourceData.json" + target_file: "${{ runner.temp }}/sourceData.json" target_path: ./data fields: 'text' with: diff --git a/.github/workflows/sourceData.js b/.github/workflows/sourceData.js index 1a5c78c9..1c353fe4 100644 --- a/.github/workflows/sourceData.js +++ b/.github/workflows/sourceData.js @@ -1,9 +1,8 @@ const fs = require('fs'); const path = require('path'); -const os = require('os'); const sourceFile = path.resolve(path.dirname(__filename), 'sourceData.json'); -const targetFile = path.resolve(os.tmpdir(), 'sourceData.json'); +const targetFile = path.resolve(process.env['RUNNER_TEMP'], 'sourceData.json'); function run(args) { const changeSet = args[0]; diff --git a/data/bible_proverbs.json b/data/bible_proverbs.json index d5d4af1a..f705ce55 100644 --- a/data/bible_proverbs.json +++ b/data/bible_proverbs.json @@ -8,17 +8,17 @@ { "text": "Where there is no vision, people perish.", "description": "", - "category": "biblical" + "category": "bible" }, { "text": "Blessed are the pure in heart: for they shall see God.", "description": "", - "category": "biblical" + "category": "bible" }, { "text": "Unto the pure all things are pure: but unto them that are defiled and unbelieving is nothing pure; but even their mind and conscience is defiled.", "description": "", - "category": "biblical" + "category": "bible" }, { "text": "All wickedness is but little to the wickedness of a woman.", @@ -316,4 +316,4 @@ "category": "bible" } ] -} \ No newline at end of file +}