Skip to content

Commit

Permalink
Merge branch 'cornu/from_pr' into ohm314-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Awile committed Sep 26, 2023
2 parents 1b5f77c + 32afbb2 commit 95484f1
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("(NEURON_V1=)(?<models>\\d+( \\d+)*)")')
if [ ! -z "$parse_neuron_v1" ]; then
echo "NEURON_V1=$(echo $parse_neuron_v1)" >> $GITHUB_ENV
fi
parse_neuron_v2=$(gh pr view $PR_URL --json body -q '.body | capture("(NEURON_V2=)(?<models>\\d+( \\d+)*)")')
if [ ! -z "$parse_neuron_v2" ]; then
echo "NEURON_V2=$(echo $parse_neuron_v2)" >> $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 95484f1

Please sign in to comment.