Skip to content

Commit

Permalink
Merge pull request #267 from XANTH-IO/fix/maintenance-workflow
Browse files Browse the repository at this point in the history
Allow curl request to fail silently
  • Loading branch information
xanthio authored Jul 3, 2024
2 parents 46960b7 + c0d0a32 commit 3d51fb0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ jobs:
fi
- name: Retrieve Serie (Family) JSONs
id: retrieve-jsons
continue-on-error: true
if: ${{ steps.get-ss-id-from-st.outputs.SERIE || steps.get-ss-id-from-file.outputs.SERIE }}
env:
SERIE_ST: ${{ steps.get-ss-id-from-st.outputs.SERIE }}
Expand All @@ -164,14 +166,14 @@ jobs:
URL=https://www.st.com/bin/st/selectors/cxst/en.cxst-ps-grid.html/${serie}.json
echo "Retrieving ${URL}"
curl --request GET \
--silent --http1.1 --url "${URL}" \
--silent --url "${URL}" \
--header "User-Agent: Firefox/9000" \
-o .series/${serie}.json
done
- name: Get existing devices list
id: get-devices-list
if: ${{ steps.get-ss-id-from-st.outputs.SERIE || steps.get-ss-id-from-file.outputs.SERIE }}
if: ${{ steps.retrieve-jsons.outcome == 'success' }}
run: |
{
echo "DEVICES<<EOF"
Expand Down

0 comments on commit 3d51fb0

Please sign in to comment.