Skip to content

Commit f5da8e5

Browse files
authored
Merge pull request #1064 from opencobra/dispatch-biosimulators
feat: add a dispatch to continuously update COBRApy
2 parents ac5cce8 + 016a7fa commit f5da8e5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: BioSimulators Dispatch
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
dispatch:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Get tag
13+
id: tag
14+
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
15+
- name: Dispatch new release version to BioSimulators
16+
uses: benc-uk/workflow-dispatch@v1
17+
with:
18+
workflow: Continuous integration
19+
repo: biosimulators/Biosimulators_COBRApy
20+
token: ${{ secrets.BIOSIM_DISPATCH_TOKEN }}
21+
inputs: '{ "simulatorVersion": "${{ steps.tag.outputs.version }}", "simulatorVersionLatest": "true" }'

0 commit comments

Comments
 (0)