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 7567f64 commit 24c2268
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ jobs:

build-docs:
runs-on: ubuntu-20.04
needs: check-pharmr
steps:
- name: Print path
working-directory: pharmr_repo
run: |
pwd
pwd
- name: Get Pharmpy version
working-directory: pharmpy_repo
run: |
echo "pharmpy_version=`git describe --tags`" >> $GITHUB_ENV
git branch -v
7 changes: 0 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ jobs:
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
- name: Install Pharmpy in venv
working-directory: pharmpy_repo
if: runner.os != 'Windows'
Expand Down

0 comments on commit 24c2268

Please sign in to comment.