From 9e0aba94af99fb43c8945e2c869d8c46917d8870 Mon Sep 17 00:00:00 2001 From: iimpulse Date: Mon, 6 May 2024 10:31:19 -0600 Subject: [PATCH] multiline jq --- .github/workflows/ontology-check-trigger.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ontology-check-trigger.yml b/.github/workflows/ontology-check-trigger.yml index 0608552..f075501 100644 --- a/.github/workflows/ontology-check-trigger.yml +++ b/.github/workflows/ontology-check-trigger.yml @@ -38,18 +38,21 @@ jobs: id: target with: cmd: "jq -r '.[] | select(.prefix==\"${{ inputs.ontology }}\")' ontologies.json" + multiline: true - name: Get latest tag_name uses: sergeysova/jq-action@v2 id: purl with: cmd: "jq -r '.[] | select(.prefix==\"${{ inputs.ontology}}\").base_file' ${{ steps.target.outputs.value }}" + multiline: true - name: Get latest SHA uses: sergeysova/jq-action@v2 id: sha with: cmd: "curl \"${{ steps.purl.outputs.value }}\" | shasum | cut -c -7" + multiline: true - name: Get existing SHA for service id: existing