From e6019bc3924987aa82023e23ac7c2f3f10a20be3 Mon Sep 17 00:00:00 2001 From: Kasper Peeters Date: Sat, 28 Sep 2024 12:33:43 +0100 Subject: [PATCH] Another shot at the windows CI. --- .github/workflows/windows.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }}