Skip to content

Commit a52dbca

Browse files
only linux and macos
1 parent f15707b commit a52dbca

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [ubuntu-latest, macos-latest, windows-latest]
15+
os: [ubuntu-latest, macos-latest]
1616
continue-on-error: true
1717

1818
steps:
@@ -49,7 +49,6 @@ jobs:
4949
run: cabal update
5050

5151
- name: Build executable on Linux or macOS
52-
if: runner.os != 'Windows'
5352
run: |
5453
cabal build
5554
mkdir -p dist
@@ -61,19 +60,6 @@ jobs:
6160
exit 1
6261
fi
6362
64-
- name: Build executable on Windows
65-
if: runner.os == 'Windows'
66-
run: |
67-
cabal build
68-
mkdir -p dist
69-
BIN_PATH=$(cabal list-bin json-to-sql-exe)
70-
if (Test-Path $BIN_PATH) {
71-
Copy-Item $BIN_PATH dist/json-to-sql-windows.exe
72-
} else {
73-
Write-Error "Error: Executable not found!"
74-
exit 1
75-
}
76-
7763
- name: Upload built executables
7864
uses: actions/upload-artifact@v4
7965
with:

0 commit comments

Comments
 (0)