Data Request API helper #10
2 changed files with 5 additions and 4 deletions
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
run: cat system.json | echo version=`jq -r ".version"`
|
run: cat system.json | echo version=`jq -r ".version"`
|
||||||
|
|
||||||
# - name: Assert that the tag doesn't exist
|
- name: Assert that the tag doesn't exist
|
||||||
# run: node scripts/tagExists.mjs
|
run: node scripts/tagExists.mjs
|
||||||
# env:
|
env:
|
||||||
# TAG_NAME: ${{steps.version.output.version}}
|
TAG_NAME: "v${{steps.version.output.version}}"
|
||||||
|
|
||||||
# - name: Build compendia
|
# - name: Build compendia
|
||||||
# run: "npm run data:build"
|
# run: "npm run data:build"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ const {
|
||||||
} = process.env;
|
} = process.env;
|
||||||
|
|
||||||
console.log(process.env);
|
console.log(process.env);
|
||||||
|
console.log({ TAG_NAME, API_URL, REPO, });
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const requestURL = `${API_URL}/repos/${REPO}/tags/${TAG_NAME}`;
|
const requestURL = `${API_URL}/repos/${REPO}/tags/${TAG_NAME}`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue