diff --git a/.github/workflows/build-cli.yml b/.github/workflows/build-cli.yml index 75acc485..25fac9a8 100644 --- a/.github/workflows/build-cli.yml +++ b/.github/workflows/build-cli.yml @@ -284,11 +284,11 @@ jobs: chmod +x build.sh # Set Windows build environment and run build script GOOS=windows GOARCH=amd64 ./build.sh + + # Move the built binary to the expected location (inside container) + mkdir -p ../target/x86_64-pc-windows-gnu/release + mv temporal-service.exe ../target/x86_64-pc-windows-gnu/release/temporal-service.exe " - - # Move the built binary to the expected location - mkdir -p target/x86_64-pc-windows-gnu/release - mv temporal-service/temporal-service.exe target/x86_64-pc-windows-gnu/release/temporal-service.exe echo "temporal-service.exe built successfully for Windows" - name: Download temporal CLI (Linux/macOS) @@ -400,4 +400,4 @@ jobs: uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # pin@v4 with: name: goose-${{ matrix.architecture }}-${{ matrix.target-suffix }} - path: ${{ env.ARTIFACT }} \ No newline at end of file + path: ${{ env.ARTIFACT }}