File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,6 @@ jobs:
146146 - name : Build project
147147 run : ninja -C ${{ env.BUILD_DIR }}
148148
149- # (You can add tests here if you want for the release builds)
150-
151149 - name : Install project
152150 run : |
153151 ninja -C ${{ env.BUILD_DIR }} install
@@ -159,11 +157,17 @@ jobs:
159157 cp COPYING crest/LICENSE
160158 cp COPYING.LESSER crest/LICENSE.LESSER
161159 cp _dist/bin/crest crest/
162- OUTPUT="crest-${{ matrix.toolchain.compiler }}-${{ matrix.toolchain.version }}-${{ matrix.os }}.tar"
160+ COMPILER_NAME="${{ matrix.toolchain.compiler }}"
161+ # Map GCC → gnu for backwards-compatible file names
162+ if [ "$COMPILER_NAME" = "gcc" ]; then
163+ COMPILER_NAME="gnu"
164+ fi
165+ OUTPUT="crest-${COMPILER_NAME}-${{ matrix.toolchain.version }}-${{ matrix.os }}.tar"
163166 tar cvf "$OUTPUT" crest
164167 xz -T0 "$OUTPUT"
165168 echo "CREST_OUTPUT=${OUTPUT}.xz" >> $GITHUB_ENV
166169
170+
167171 - name : Upload package
168172 uses : actions/upload-artifact@v4
169173 with :
You can’t perform that action at this time.
0 commit comments