Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/cornu/from_pr'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Sep 27, 2023
2 parents acf023c + 8323090 commit 5a87d6e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/nrn-modeldb-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ jobs:
with:
repository: ${{ inputs.repo || github.repository }}

- name: parse versions from PR
parse_neuron_v1=$(gh pr view $PR_URL --json body -q '.body | capture("(?<nrnV1>NEURON_V1=[\r\n]*)")')
if [ ! -z "$parse_neuron_v1" ]; then
echo "$(echo $parse_neuron_v1 | jq -r .nrnV1)" >> $GITHUB_ENV
fi
parse_neuron_v2=$(gh pr view $PR_URL --json body -q '.body | capture("(?<nrnV2>NEURON_V2=[\r\n]*)")')
if [ ! -z "$parse_neuron_v2" ]; then
echo "$(echo $parse_neuron_v2 | jq -r .nrnV2)" >> $GITHUB_ENV
fi
- name: check for Azure drop NEURON_V1 -> ${{ env.NEURON_V1 }}
if: startsWith(env.NEURON_V1, 'https://dev.azure.com/neuronsimulator/')
run: |
Expand Down

0 comments on commit 5a87d6e

Please sign in to comment.