Skip to content

Commit

Permalink
update test_pkg.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Mar 15, 2024
1 parent beda86e commit e6a3032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
uses: actions/checkout@v3

- name: Get PySAM Version Unix
if: ${{ matrix.os }} != 'windows-latest'
if: ${{ matrix.os != 'windows-latest' }}
run: |
VER=$(python -c "from files.version import __version__; print(__version__)")
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Get PySAM Version Windows
if: ${{ matrix.os }} == 'windows-latest'
if: ${{ matrix.os == 'windows-latest'}}
run: |
$VER=$(python -c "from files.version import __version__; print(__version__)")
echo "VERSION=$VER" >> $env:GITHUB_ENV
Expand Down

0 comments on commit e6a3032

Please sign in to comment.