File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 3939 env :
4040 PATH : /usr/local/opt/llvm/bin:$PATH
4141
42+ - name : Cache Homebrew
43+ if : runner.os == 'macOS'
44+ uses : actions/cache@v4
45+ with :
46+ path : /usr/local/Homebrew
47+ key : ${{ runner.os }}-homebrew-${{ hashFiles('**/*.cabal', '**/cabal.config') }}
48+ restore-keys : |
49+ ${{ runner.os }}-homebrew-
50+
4251 - name : Set up Haskell (GHC & Cabal)
4352 uses : haskell-actions/setup@v2
4453 with :
7281 steps :
7382 - name : Download all built binaries
7483 uses : actions/download-artifact@v4
84+ with :
85+ merge-multiple : true
86+ path : dist
87+ - name : List directory contents
88+ run : ls -l dist
89+ - name : Zip executables
90+ run : |
91+ zip -j dist/json-to-sql-Linux.zip dist/json-to-sql-linux
92+ zip -j dist/json-to-sql-macOS.zip dist/json-to-sql-macos
93+
7594 - name : Create GitHub Release
7695 uses : softprops/action-gh-release@v2
7796 with :
84103 ## JSON-to-SQL CLI Release
85104 - **Linux**: `json-to-sql-Linux.zip`
86105 - **macOS**: `json-to-sql-macOS.zip`
87- env:
88- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106+ env :
107+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments