From 7ab531d9e15846137ac4ed82533fc38a22140532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeromos=20Kov=C3=A1cs?= Date: Tue, 19 Nov 2024 09:28:20 +0100 Subject: [PATCH] misc(ci): fixup --- .github/workflows/rust.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bd7e2ca..cf25e1b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,7 +11,10 @@ env: jobs: build: - runs-on: ["macos-latest", "ubuntu-latest", "windows-latest"] + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4 @@ -26,5 +29,5 @@ jobs: - name: Upload executable uses: actions/upload-artifact@v4 with: - name: cgol-tui_* - path: target/*/release/cgol-tui* + name: cgol-tui_${{ matrix.target }} + path: target/${{ matrix.target }}/release/cgol-tui*