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*