@@ -32,12 +32,16 @@ jobs: {
32
32
" name " : " Figure out the /opt/python directory from the tar file" ,
33
33
" run " : " ./ci/packing_release_tar.sh release-${{ matrix.version }}-${{ matrix.architecture }}.tar" ,
34
34
},
35
+ {
36
+ " name " : " Gzip to save space" ,
37
+ " run " : " apt-get install gzip -y && gzip -9 release-${{ matrix.version }}-${{ matrix.architecture }}.tar" ,
38
+ },
35
39
{
36
40
" name " : " Release the tar file to artifacts" ,
37
41
" uses " : " actions/upload-artifact@v3" ,
38
42
" with " : {
39
- " name " : " release-${{ matrix.version }}-${{ matrix.architecture }}.tar" ,
40
- " path " : " build/release-${{ matrix.version }}-${{ matrix.architecture }}.tar" ,
43
+ " name " : " release-${{ matrix.version }}-${{ matrix.architecture }}.tar.gz " ,
44
+ " path " : " build/release-${{ matrix.version }}-${{ matrix.architecture }}.tar.gz " ,
41
45
},
42
46
},
43
47
],
@@ -72,14 +76,14 @@ jobs: {
72
76
" run " : " echo ::set-env name=TAG_NAME::$(cat .release_tag)" ,
73
77
" env " : {
74
78
" ACTIONS_ALLOW_UNSECURE_COMMANDS " : " true" ,
75
- },
79
+ },
76
80
},
77
81
{
78
82
" name " : " Create GitHub release" ,
79
83
" uses " : ncipollo/release-action@v1,
80
84
" with " : {
81
85
" tag " : " ${{ env.TAG_NAME }}" ,
82
- " artifacts " : " artifacts/*.tar" ,
86
+ " artifacts " : " artifacts/*/* .tar.gz " ,
83
87
},
84
88
" env " : {
85
89
" GITHUB_TOKEN " : " ${{ secrets.GITHUB_TOKEN }}" ,
0 commit comments