From 8176ccfb67e8da4396d4d478bdb2066a6968b998 Mon Sep 17 00:00:00 2001 From: NotAndreh <39744335+NotAndreh@users.noreply.github.com> Date: Sun, 7 Sep 2025 12:05:35 +0200 Subject: [PATCH] Linux workflow --- .github/workflows/build.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6662c4c..4b4871c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,17 @@ env: jobs: build: - runs-on: windows-latest + runs-on: ${{ matrix.os }} + + strategy: + matrix: + include: + - os: windows-latest + target: x86_64-pc-windows-msvc + executable: steam-ticket-generator.exe + - os: ubuntu-latest + target: x86_64-unknown-linux-gnu + executable: steam-ticket-generator steps: - name: Checkout repository @@ -19,11 +29,11 @@ jobs: - name: Setup Rust cache uses: Swatinem/rust-cache@v2 - - name: Build Exe - run: cargo build --release --target x86_64-pc-windows-msvc + - name: Build Executable + run: cargo build --release --target ${{ matrix.target }} - - name: Upload Exe + - name: Upload Executable uses: actions/upload-artifact@v4 with: name: steam-ticket-generator - path: target/x86_64-pc-windows-msvc/release/*.exe + path: target/${{ matrix.target }}/release/${{ matrix.executable }}