Deploy pharmr #8
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
on: | |
workflow_dispatch: | |
workflow_call: | |
name: Deploy pharmr | |
jobs: | |
check-pharmr: | |
uses: pharmpy/pharmr/.github/workflows/main.yaml@main | |
with: | |
as-release: true | |
build-docs: | |
runs-on: ubuntu-20.04 | |
needs: check-pharmr | |
steps: | |
- name: Download pharmr repo artifact | |
uses: actions/download-artifact@master | |
with: | |
name: pharmr_repo | |
path: pharmr_repo | |
- name: Print path | |
working-directory: pharmr_repo | |
run: | | |
pwd | |
- name: Get Pharmpy version | |
working-directory: pharmpy_repo | |
run: | | |
echo "pharmpy_version=`git describe --tags`" >> $GITHUB_ENV | |
git branch -v |