-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1482 from AMICI-dev/release_0.11.15
- Loading branch information
Showing
28 changed files
with
502 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Release to BioSimulators | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
updateCliAndDockerImage: | ||
name: Build and release downstream command-line interface and Docker image | ||
runs-on: ubuntu-latest | ||
env: | ||
# Owner/repository-id for the GitHub repository for the downstream command-line interface and Docker image | ||
DOWNSTREAM_REPOSITORY: biosimulators/Biosimulators_AMICI | ||
|
||
# Username/token to use the GitHub API to trigger an action on the GitHub repository for the downstream | ||
# command-line interface and Docker image. Tokens can be generated at https://github.com/settings/tokens. | ||
# The token should have the scope `repo` | ||
GH_ISSUE_USERNAME: ${{ secrets.BIOSIMULATORS_USERNAME }} | ||
GH_ISSUE_TOKEN: ${{ secrets.BIOSIMULATORS_TOKEN }} | ||
steps: | ||
- name: Trigger GitHub action that will build and release the downstream command-line interface and Docker image | ||
run: | | ||
PACKAGE_VERSION="${GITHUB_REF/refs\/tags\/v/}" | ||
WORKFLOW_FILE=ci.yml | ||
curl \ | ||
-X POST \ | ||
-u ${GH_ISSUE_USERNAME}:${GH_ISSUE_TOKEN} \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
https://api.github.com/repos/${DOWNSTREAM_REPOSITORY}/actions/workflows/${WORKFLOW_FILE}/dispatches \ | ||
-d "{\"inputs\": {\"simulatorVersion\": \"${PACKAGE_VERSION}\", \"simulatorVersionLatest\": \"true\"}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,3 +193,4 @@ coverage_SBMLSuite.xml | |
Benchmark-Models-PEtab/ | ||
|
||
|
||
CS_Signalling_ERBB_RAS_AKT/ |
Oops, something went wrong.