remove matrix build
All checks were successful
Build / build (push) Successful in 27s

the non-matrix build is much faster
This commit is contained in:
2026-01-20 07:31:01 +01:00
parent 2cf4565fd1
commit 168c917e04

View File

@@ -21,34 +21,7 @@ jobs:
- name: upload artifacts - name: upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: zig-totp-$GITHUB_REF_NAME name: zig-totp
path: zig-out/bin/
release:
name: ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-linux-musl
- target: x86_64-linux-gnu
- target: x86_64-windows
steps:
- run: printenv
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: ''
- run: wget http://172.17.0.1:8081/repository/ziglang.org/download/$ZIG_VERSION/zig-x86_64-linux-${ZIG_VERSION}.tar.xz
- run: tar xfv zig-x86_64-linux-$ZIG_VERSION.tar.xz
- run: ./zig-x86_64-linux-$ZIG_VERSION/zig build -Doptimize=ReleaseSmall -Dtarget=${{ matrix.target }} -Dexe_name=zig-totp-$GITHUB_REF_NAME-${{ matrix.target }}
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: zig-totp-${{matrix.target }}
path: zig-out/bin/ path: zig-out/bin/