Skip to content

Commit

Permalink
Next fix
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Aug 21, 2024
1 parent 8d3acce commit 904d7d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/install-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
run: |
if grep -q "WARN" stderr.txt; then echo "Warnings in pip install output" && cat stderr.txt && exit 1; else exit 0; fi
- name: Get version non-windows
if: runner.os != 'windows-latest'
if: matrix.os != 'windows-latest'
run: |
INSTALLED_VERSION=`python -c 'import openscm_zenodo; print(f"v{openscm_zenodo.__version__}")'`
echo $INSTALLED_VERSION
echo "INSTALLED_VERSION=$INSTALLED_VERSION" >> $GITHUB_ENV
- name: Get version windows
if: runner.os == 'windows-latest'
if: matrix.os == 'windows-latest'
run: |
python -c 'import openscm_zenodo; f = open("version.txt"); f.write(f"v{openscm_zenodo.__version__}"); f.close()'
type version.txt
Expand Down

0 comments on commit 904d7d1

Please sign in to comment.