mirror of
https://github.com/heiher/natmap.git
synced 2026-05-06 21:51:26 +08:00
CI: Fix upload artifacts.
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user