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