File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed
Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -34,25 +34,31 @@ jobs:
3434 run : stack --system-ghc build --ghc-options=-Werror
3535
3636 - name : Set extension to .exe on Windows
37- run : echo "::set-env name=EXT::.exe"
38- if : matrix.os == 'windows-latest'
37+ id : get_ext
38+ run : |
39+ if [ ${{ matrix.os }} == windows-latest ]; then
40+ ext=.exe
41+ fi
42+ echo "::set-output name=ext::$ext"
43+ shell : bash
3944
4045 - name : Get binary path
46+ id : get_binary_path
4147 run : |
42- echo "::set-env name=BINARY_PATH ::$(stack --system-ghc path --local-install-root)/bin/jikka${{ env.EXT }}"
48+ echo "::set-output name=binary_path ::$(stack --system-ghc path --local-install-root)/bin/jikka${{ steps.get_ext.outputs.ext }}"
4349 shell : bash
4450
4551 - name : Compress binary
46524753 with :
48- file : ${{ env.BINARY_PATH }}
54+ file : ${{ steps.get_binary_path.outputs.binary_path }}
4955
5056 - name : Upload Release Asset
51575258 env :
5359 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5460 with :
5561 upload_url : ${{ github.event.release.upload_url }}
56- asset_path : ${{ env.BINARY_PATH }}
57- asset_name : jikka-${{ github.event.release.tag_name }}-${{ runner.os }}${{ env.EXT }}
62+ asset_path : ${{ steps.get_binary_path.outputs.binary_path }}
63+ asset_name : jikka-${{ github.event.release.tag_name }}-${{ runner.os }}${{ steps.get_ext.outputs.ext }}
5864 asset_content_type : application/octet-stream
Original file line number Diff line number Diff line change 22
33## 2021-07-28: v5.0.11.1
44
5- Uploaded to Hackage
5+ Uploaded to Hackage: < https://hackage.haskell.org/package/Jikka >
66
77## 2021-07-21: v5.0.11.0
88
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ for developpers:
3838 - [ CONTRIBUTING.ja.md] ( https://github.com/kmyk/Jikka/blob/master/CONTRIBUTING.ja.md ) (Japanese translation)
3939- [ docs/DESIGN.md] ( https://github.com/kmyk/Jikka/blob/master/docs/DESIGN.md ) (Japanese)
4040- [ docs/how-it-works.pdf] ( https://github.com/kmyk/Jikka/blob/master/docs/how-it-works.pdf ) (Japanese)
41- - [ Haddock] ( https://kmyk.github.io/Jikka/ )
41+ - [ Haddock] ( https://hackage.haskell.org/package/Jikka )
42+ - [ Haddock (master)] ( https://kmyk.github.io/Jikka/ )
4243
4344
4445## Examples
You can’t perform that action at this time.
0 commit comments