diff options
author | ikoamu <ikoamu@gmail.com> | 2024-01-24 23:08:25 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-01-24 23:08:25 +0900 |
commit | 9fab108348ca688a040c1e8296fb10d574b28757 (patch) | |
tree | d8c9418382276592f1cb5e93c64fd7eaf49068dc | |
parent | a83299cfabbfe9fb542b019c3902f4b2e4461104 (diff) |
Fix script parameter interpolation in action.yml
-rw-r--r-- | action.yml | 2 | ||||
-rw-r--r-- | generate_json.js | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -45,7 +45,7 @@ runs: shell: bash - name: Generate graphdata.json working-directory: action - run: npm run generate --script_params=../orgs/{{ inputs.org-roam-db-file }} + run: npm run generate --script_params=../orgs/${{ inputs.org-roam-db-file }} shell: bash - name: Create Notes working-directory: action diff --git a/generate_json.js b/generate_json.js index be51cf0..d1e2701 100644 --- a/generate_json.js +++ b/generate_json.js @@ -1,3 +1,4 @@ +console.log("db file", process.argv[2]); const sqlite3 = require('sqlite3').verbose(); const dbFile = process.argv[2]; const db = new sqlite3.Database(dbFile); |