Skip to content

Commit

Permalink
fix build-release
Browse files Browse the repository at this point in the history
  • Loading branch information
wgreenberg committed Oct 22, 2024
1 parent bec680f commit 1134361
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ env:
CARGO_TERM_COLOR: always

jobs:
build_serial:
build_serial_and_check:
strategy:
matrix:
platform:
- os: ubuntu-latest
build_name: serial
serial_build_name: serial
check_build_name: check
- os: windows-latest
build_name: serial.exe
serial_build_name: serial.exe
check_build_name: check.exe
- os: macos-latest
build_name: serial
serial_build_name: serial
check_build_name: check
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -26,15 +29,15 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: serial-${{ matrix.platform.os }}
path: ./target/release/${{ matrix.platform.build_name }}
path: ./target/release/${{ matrix.platform.serial_build_name }}
if-no-files-found: error
- uses: actions/checkout@v4
- name: Build check
run: cargo build --bin rayhunter-check --release
- uses: actions/upload-artifact@v4
with:
name: rayhunter-check-${{ matrix.platform.os }}
path: ./target/release/${{ matrix.platform.build_name }}
path: ./target/release/${{ matrix.platform.check_build_name }}
if-no-files-found: error
build_rootshell_and_rayhunter:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,7 +67,7 @@ jobs:
if-no-files-found: error
build_release_zip:
needs:
- build_serial
- build_serial_and_check
- build_rootshell_and_rayhunter
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1134361

Please sign in to comment.