24
24
GOARCH : amd64
25
25
- run : ./tstdin -help
26
26
- run : sh -c '(echo foo ; sleep 1; echo bar ; sleep 1 ; echo baz) | ./tstdin'
27
- - run : xz --compress -- stdout tstdin > tstdin-linux-amd64.xz
27
+ - run : gzip --stdout tstdin > tstdin-linux-amd64.gz
28
28
# Build #2: windows/amd64
29
29
- run : ./.dev/build-static.sh
30
30
env :
@@ -36,20 +36,20 @@ jobs:
36
36
env :
37
37
GOOS : darwin
38
38
GOARCH : amd64
39
- - run : xz --compress -- stdout tstdin > tstdin-darwin-amd64.xz
39
+ - run : gzip --stdout tstdin > tstdin-darwin-amd64.gz
40
40
# Upload artifacts...
41
41
- uses : actions/upload-artifact@master
42
42
with :
43
- name : tstdin-linux-amd64.xz
44
- path : tstdin-linux-amd64.xz
43
+ name : tstdin-linux-amd64.gz
44
+ path : tstdin-linux-amd64.gz
45
45
- uses : actions/upload-artifact@master
46
46
with :
47
47
name : tstdin.exe
48
48
path : tstdin.exe
49
49
- uses : actions/upload-artifact@master
50
50
with :
51
- name : tstdin-darwin-amd64.xz
52
- path : tstdin-darwin-amd64.xz
51
+ name : tstdin-darwin-amd64.gz
52
+ path : tstdin-darwin-amd64.gz
53
53
54
54
release :
55
55
needs : [build]
@@ -65,13 +65,13 @@ jobs:
65
65
tag_name : ${{ github.ref }}
66
66
release_name : Release ${{ github.ref }}
67
67
68
- uploadxz :
68
+ uploadgz :
69
69
needs : [release]
70
70
strategy :
71
71
matrix :
72
72
file :
73
- - tstdin-linux-amd64.xz
74
- - tstdin-darwin-amd64.xz
73
+ - tstdin-linux-amd64.gz
74
+ - tstdin-darwin-amd64.gz
75
75
runs-on : ubuntu-20.04
76
76
steps :
77
77
- uses : actions/download-artifact@master
85
85
upload_url : ${{ needs.release.outputs.upload_url }}
86
86
asset_path : ./${{ matrix.file }}
87
87
asset_name : ${{ matrix.file }}
88
- asset_content_type : application/x-xz
88
+ asset_content_type : application/gzip
89
89
90
90
uploadexe :
91
91
needs : [release]
0 commit comments