@@ -36,26 +36,26 @@ jobs:
36
36
- name : Extract and strip binaries
37
37
run : |
38
38
mkdir /tmp/hledger
39
- cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-web-*/x/hledger-web/build/hledger-web/hledger-web /tmp/hledger/hledger-web-static- linux-x64
40
- cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-ui-*/x/hledger-ui/build/hledger-ui/hledger-ui /tmp/hledger/hledger-ui-static- linux-x64
41
- cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-*/x/hledger/build/hledger/hledger /tmp/hledger/hledger-static- linux-x64
42
- strip /tmp/hledger/hledger-web-static- linux-x64
43
- strip /tmp/hledger/hledger-ui-static- linux-x64
44
- strip /tmp/hledger/hledger-static- linux-x64
39
+ cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-web-*/x/hledger-web/build/hledger-web/hledger-web /tmp/hledger/hledger-web-linux-static -x64
40
+ cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-ui-*/x/hledger-ui/build/hledger-ui/hledger-ui /tmp/hledger/hledger-ui-linux-static -x64
41
+ cp dist-newstyle/build/x86_64-linux/ghc-*/hledger-*/x/hledger/build/hledger/hledger /tmp/hledger/hledger-linux-static -x64
42
+ strip /tmp/hledger/hledger-web-linux-static -x64
43
+ strip /tmp/hledger/hledger-ui-linux-static -x64
44
+ strip /tmp/hledger/hledger-linux-static -x64
45
45
46
46
- name : Upload binaries
47
47
uses : actions/upload-artifact@v2
48
48
with :
49
- name : Static Binaries
49
+ name : hledger-linux-static-x64
50
50
path : /tmp/hledger
51
51
52
52
- name : Release
53
53
uses : softprops/action-gh-release@v1
54
54
if : startsWith(github.ref, 'refs/tags/')
55
55
with :
56
56
files : |
57
- /tmp/hledger/hledger-static- linux-x64
58
- /tmp/hledger/hledger-web-static- linux-x64
59
- /tmp/hledger/hledger-ui-static- linux-x64
57
+ /tmp/hledger/hledger-linux-static -x64
58
+ /tmp/hledger/hledger-web-linux-static -x64
59
+ /tmp/hledger/hledger-ui-linux-static -x64
60
60
env :
61
61
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments