@@ -83,10 +83,10 @@ jobs:
8383 REPO : ${{ matrix.repo }}
8484 steps :
8585 - name : Checkout
86- uses : actions/checkout@v3
86+ uses : actions/checkout@v4
8787
88- - name : ' Clone ${{ matrix.repo }}'
89- run : ' git clone https://github.com/${{ matrix.repo }} mcm'
88+ - name : Clone ${{ matrix.repo }}
89+ run : git clone https://github.com/${{ matrix.repo }} mcm
9090
9191 - name : Set ${{ matrix.target }} musl with configurations
9292 if : matrix.repo == 'userdocs/qbt-musl-cross-make'
@@ -106,40 +106,40 @@ jobs:
106106 run : cat config.mak
107107 working-directory : mcm
108108
109- - name : ' Build ${{ matrix.target }}'
109+ - name : Build ${{ matrix.target }}
110110 run : |-
111111 make -j4
112112 make install
113113 ls output
114114 working-directory : mcm
115115
116- - name : ' Package ${{ matrix.target }}'
116+ - name : Package ${{ matrix.target }}
117117 id : package
118118 run : |-
119- tar -czvf ../output-${{ matrix.target }}.tar.gz output/
119+ XZ_OPT=-9T0 tar -cvJf ../output-${{ matrix.target }}.tar.xz output/
120120 echo "source_escaped=${REPO%%/*}_${REPO##*/}" >> $GITHUB_OUTPUT
121121 working-directory : mcm
122122
123123 - id : upload-artifacts
124124 name : Upload artifacts
125- if : ' ${{ success() }}'
125+ if : ${{ success() }}
126126127127 with :
128- path : ' output-${{ matrix.target }}.tar.gz '
129- name : ' ${{ matrix.target }}-${{ steps.package.outputs.source_escaped }}'
128+ path : output-${{ matrix.target }}.tar.xz
129+ name : ${{ matrix.target }}-${{ steps.package.outputs.source_escaped }}
130130
131131 - name : Rename artifact
132- run : mv output-${{ matrix.target }}.tar.gz output-${{ matrix.target }}-${{ steps.package.outputs.source_escaped }}.tar.gz
132+ run : mv output-${{ matrix.target }}.tar.xz output-${{ matrix.target }}-${{ steps.package.outputs.source_escaped }}.tar.xz
133133
134134 - id : upload-releases
135135 name : Upload to releases
136136 uses : ncipollo/release-action@v1
137- if : ' ${{ github.event.inputs.do_release }}'
137+ if : ${{ github.event.inputs.do_release }}
138138 with :
139139 allowUpdates : true
140- tag : ' ${{ github.event.inputs.release }}'
141- artifacts : ' output-${{ matrix.target }}*.tar.gz '
140+ tag : ${{ github.event.inputs.release }}
141+ artifacts : output-${{ matrix.target }}*.tar.xz
142142 artifactContentType : application/gzip
143143 env :
144- GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
144+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
145145
0 commit comments