Set up jq

This commit is contained in:
curquiza 2025-05-14 17:19:36 +02:00
parent 58de0b9a21
commit 97f2670d10

View File

@ -106,10 +106,11 @@ jobs:
client-payload: '{ "meilisearch_version": "${{ github.ref_name }}", "stable": "${{ steps.check-tag-format.outputs.stable }}" }' client-payload: '{ "meilisearch_version": "${{ github.ref_name }}", "stable": "${{ steps.check-tag-format.outputs.stable }}" }'
# Send notification to Swarmia to notify of a deployment: https://app.swarmia.com # Send notification to Swarmia to notify of a deployment: https://app.swarmia.com
- name: 'Setup jq'
uses: dcarbone/install-jq-action@v3
- name: Send deployment to Swarmia - name: Send deployment to Swarmia
# if: github.event_name == 'push' && success() # if: github.event_name == 'push' && success()
run: | run: |
apt-get update && sudo apt-get install -y jq
JSON_STRING=$( jq --null-input --compact-output \ JSON_STRING=$( jq --null-input --compact-output \
--arg version "${{ github.ref_name }}" \ --arg version "${{ github.ref_name }}" \
--arg appName "meilisearch" \ --arg appName "meilisearch" \