Skip to content

Commit

Permalink
Fix path of installer for upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Sep 28, 2024
1 parent 63aee0c commit 4f893b6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ jobs:

- name: Build
run: |
echo ${PATH}
export PATH=$(echo $PATH | sed -e 's|/opt/hostedtoolcache/python/3\.[^:]*:||g')
python --version
which python
mkdir build
cd build
# Turn off searching Python in the registry, as that contains the
# windows Python which is not the MSYS python that we want to use.
cmake -DPython_FIND_REGISTRY=NEVER ..
ninja
ninja install
Expand All @@ -68,7 +66,7 @@ jobs:
- name: Upload release assets
run: |
gh release upload "${{ env.VERSION }}" cadabra2-${{ env.VERSION }}-win64.exe --clobber
gh release upload "${{ env.VERSION }}" build/cadabra2-${{ env.VERSION }}-win64.exe --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4f893b6

Please sign in to comment.