CI: Fix upload artifacts.

This commit is contained in:
hev
2025-01-01 10:51:18 +08:00
parent 5f15bdc406
commit 6789dc78f5

View File

@@ -108,11 +108,12 @@ jobs:
wget https://github.com/musl-cross/musl-cross/releases/download/20241103/${{ matrix.tool }}.tar.xz
sudo tar xf ${{ matrix.tool }}.tar.xz -C /opt/x-tools
make CROSS_PREFIX=/opt/x-tools/${{ matrix.tool }}/bin/${{ matrix.tool }}- CFLAGS=${{ matrix.env.CFLAGS }} ENABLE_STATIC=1 -j`nproc`
cp bin/natmap natmap-linux-${{ matrix.name }}
- name: Upload ${{ matrix.name }}
uses: actions/upload-artifact@v4
with:
name: natmap-linux-${{ matrix.name }}
path: bin/natmap
path: natmap-linux-${{ matrix.name }}
if-no-files-found: error
retention-days: 1