Skip to content

Commit

Permalink
Merge pull request #1064 from opencobra/dispatch-biosimulators
Browse files Browse the repository at this point in the history
feat: add a dispatch to continuously update COBRApy
  • Loading branch information
Midnighter authored Mar 23, 2021
2 parents ac5cce8 + 016a7fa commit f5da8e5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/biosimulators_dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: BioSimulators Dispatch

on:
release:
types: [published]

jobs:
dispatch:
runs-on: ubuntu-latest

steps:
- name: Get tag
id: tag
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
- name: Dispatch new release version to BioSimulators
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Continuous integration
repo: biosimulators/Biosimulators_COBRApy
token: ${{ secrets.BIOSIM_DISPATCH_TOKEN }}
inputs: '{ "simulatorVersion": "${{ steps.tag.outputs.version }}", "simulatorVersionLatest": "true" }'

0 comments on commit f5da8e5

Please sign in to comment.