mirror of
https://github.com/denuvosanctuary/steam-ticket-generator.git
synced 2026-01-11 02:46:16 +00:00
Linux workflow
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -7,7 +7,17 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -19,11 +29,11 @@ jobs:
|
|||||||
- name: Setup Rust cache
|
- name: Setup Rust cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Build Exe
|
- name: Build Executable
|
||||||
run: cargo build --release --target x86_64-pc-windows-msvc
|
run: cargo build --release --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Upload Exe
|
- name: Upload Executable
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: steam-ticket-generator
|
name: steam-ticket-generator
|
||||||
path: target/x86_64-pc-windows-msvc/release/*.exe
|
path: target/${{ matrix.target }}/release/${{ matrix.executable }}
|
||||||
|
|||||||
Reference in New Issue
Block a user