Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
name: steam-ticket-generator-${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.executable }}
Loading