diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0e354f649f..bfe96ec0e6 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -52,18 +52,17 @@ jobs: run: | mkdir build cd build - cmake .. + cmake -DPython3_EXECUTABLE=/usr/bin/python3 .. ninja ninja install - name: Set version variables from output of cmake run: | - VER=$(cat ${{ github.workspace }}/build/VERSION) + VER=$(cat build/VERSION) echo "VERSION=$VER" >> $GITHUB_ENV - name: Upload release assets run: | - ls ${{ github.workspace }}/artifacts/ gh release upload "${{ env.VERSION }}" cadabra2-${{ env.VERSION }}-win64.exe --clobber env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}