downloader can unpack just the json.

we could allow it to continue on fail but all future builds will
have the json if they complete.
master
Beq 2024-09-26 01:51:29 +01:00
parent 59f7ef4e5e
commit 9ccb1ae8ce
1 changed files with 4 additions and 5 deletions

View File

@ -76,15 +76,14 @@ jobs:
with:
workflow: build_viewer.yml
run_number: ${{ steps.get_run_number.outputs.build_run_number }}
name: build_info
skip_unpack: false
path: build_info
# workout the inputs based on the trigger type
- name: Unpack the json and get inputs
- name: Query the json and get input overrides if applicable
id: get_inputs
run: |
# Unzip the artifact
unzip -o build_info/build_info.zip -d build_info
run: |
# Parse the JSON file
RELEASE_TYPE=$(jq -r '.release_type' build_info/build_info.json)
VIEWER_VERSION=$(jq -r '.viewer_version' build_info/build_info.json)