File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,15 @@ jobs:
37
37
echo 'watchexec -r -w `[[ -z $GOKU_EDN_CONFIG_FILE ]] && echo ~/.config/karabiner.edn || echo $GOKU_EDN_CONFIG_FILE` goku' >> gokuw
38
38
chmod +x gokuw
39
39
- name : Pack
40
- run : tar czf goku.tar.gz goku gokuw
40
+ run : sleep 5 && tar czf goku.tar.gz goku gokuw # https://github.com/actions/virtual-environments/issues/2619#issuecomment-778827140
41
41
- uses : actions/upload-artifact@v2
42
42
with :
43
43
name : goku-tar
44
44
path : goku.tar.gz
45
+ - uses : actions/upload-artifact@v2
46
+ with :
47
+ name : goku-exec
48
+ path : ./goku
45
49
46
50
draft-release :
47
51
name : Draft Release
52
56
- uses : actions/download-artifact@v2
53
57
with :
54
58
name : goku-tar
59
+ - uses : actions/download-artifact@v2
60
+ with :
61
+ name : goku-exec
55
62
56
63
- name : Delete Other Draft Releases
57
64
uses : hugo19941994/delete-draft-releases@v0.1.0
80
87
asset_path : ./goku.tar.gz
81
88
asset_name : goku.tar.gz
82
89
asset_content_type : application/gzip
90
+ - name : Upload Release Asset
91
+ id : upload-release-asset2
92
+ uses : actions/upload-release-asset@v1
93
+ env :
94
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
95
+ with :
96
+ upload_url : ${{ steps.create_draft_release.outputs.upload_url }}
97
+ asset_path : ./goku
98
+ asset_name : goku
99
+ asset_content_type : application/bin
83
100
84
101
release :
85
102
name : Release
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ compile:
12
12
bin :
13
13
native-image $(GRAALVM_ARG ) -jar $(TARGET_JAR )
14
14
mv $(JAR_NAME ) goku
15
+ chmod +x goku
15
16
test-binary :
16
17
mkdir -p ~ /.config/karabiner
17
18
cp ./resources/configurations/edn/yqrashawn.edn ~ /.config/karabiner.edn
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ compile:
19
19
bin :
20
20
$(GRAALVM ) $(GRAALVM_ARG ) -jar $(TARGET_JAR )
21
21
mv $(JAR_NAME ) goku
22
+ chmod +x goku
22
23
test-binary :
23
24
# mkdir -p ~/.config/
24
25
# cp ./resources/configurations/yqrashawn.edn ~/.config/karabiner.edn
You can’t perform that action at this time.
0 commit comments