Skip to content

Commit

Permalink
Different debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Aug 21, 2024
1 parent e2d01e8 commit 14e20eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/install-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ jobs:
INSTALLED_VERSION=`python -c 'import openscm_zenodo; print(f"v{openscm_zenodo.__version__}")'`
echo $INSTALLED_VERSION
echo "INSTALLED_VERSION=$INSTALLED_VERSION" >> $GITHUB_ENV
echo ${{ env.INSTALLED_VERSION }}
- name: Get version windows
if: matrix.os == 'windows-latest'
run: |
python -c 'import openscm_zenodo; f = open("version.txt", "w"); f.write(f"v{openscm_zenodo.__version__}"); f.close()'
type version.txt
set /p INSTALLED_VERSION=<version.txt
echo %INSTALLED_VERSION%
echo ("INSTALLED_VERSION=%INSTALLED_VERSION%") >> $env:GITHUB_ENV
echo "INSTALLED_VERSION=%INSTALLED_VERSION%" >> $env:GITHUB_ENV
- name: Check installed version environment variable
run: |
echo "${{ env.INSTALLED_VERSION }}"
echo $env:INSTALLED_VERSION
- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 14e20eb

Please sign in to comment.