Skip to content

Commit

Permalink
Move print of Pharmpy version to deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stellabelin committed Nov 2, 2023
1 parent 1c63d2f commit 7567f64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ jobs:
if: ${{ inputs.as-release == true }}
run: |
git checkout -b release_latest "$(git rev-list --tags --max-count=1)"
- name: Set up Pharmpy release version
working-directory: pharmpy_repo
if: ${{ inputs.as-release == true && runner.os == 'Linux' }}
run: |
echo "pharmpy_version=`git describe --tags`" >> $GITHUB_ENV
git branch -v
Expand Down Expand Up @@ -131,8 +136,7 @@ jobs:
pharmr::print_pharmpy_version()
shell: Rscript {0}


- name: Update DESCRIPTION and documentation
- name: Update documentation
working-directory: pharmr_repo/deploy
run: |
venv_path = file.path('..', '..', 'pharmpy_repo', 'pharmpy_venv')
Expand Down

0 comments on commit 7567f64

Please sign in to comment.