File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 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 :
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
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 :
You can’t perform that action at this time.
0 commit comments