commit 3d001be0ad4cc33edd966b27db79e9da48a72d3c parent efbed494dd948e6d7e5b2230ef65f40939c2ad8b Author: Yersa Nordman <yersa@finwo.nl> Date: Mon, 23 Oct 2023 22:26:32 +0200 Adding linux build to tag as well Diffstat:
| M | .github/workflows/build.yml | | | 17 | +++++++++++++++-- |
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -62,18 +62,22 @@ jobs: - distro: ubuntu_latest arch: aarch64 cc: gcc + bin: fnet_test-aarch64 - distro: ubuntu_latest arch: armv7 cc: gcc + bin: fnet_test-armv7 - distro: ubuntu_latest arch: riscv64 cc: gcc + bin: fnet_test-riscv64 - distro: ubuntu_latest arch: none cc: gcc + bin: fnet_test-x86_64 steps: @@ -100,10 +104,19 @@ jobs: apt-get install -yq build-essential run: | - make CC=${{ matrix.cc }} + make CC=${{ matrix.cc }} BIN=${{ matrix.bin }} - if: ${{ matrix.arch == 'none' }} name: Build shell: bash run: | - make CC=${{ matrix.cc }} + make CC=${{ matrix.cc }} BIN=${{ matrix.bin }} + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ${{ matrix.bin }} + file_glob: true + overwrite: true + tag: ${{ github.ref }}