From 5749c305c6b25df7d465c686a0a530fd04954639 Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Fri, 6 Jun 2025 12:30:36 -0700 Subject: [PATCH] ci: don't try to use env: I apparently don't know how this works. --- .github/workflows/main.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ea8cab..105ff57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,8 +100,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - env: - NO_FIRMWARE_BIN=true steps: - uses: actions/checkout@v4 - name: Check formatting @@ -112,13 +110,13 @@ jobs: npm install npm run build popd - cargo check --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo check --verbose --no-default-features --features=${{ matrix.device.name }} - name: Run tests run: | - cargo test --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features --features=${{ matrix.device.name }} - name: Run clippy run: | - cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }} windows_installer_check_and_test: needs: files_changed @@ -126,20 +124,18 @@ jobs: runs-on: windows-latest permissions: contents: read - env: - NO_FIRMWARE_BIN=true steps: - uses: actions/checkout@v4 - name: cargo check shell: bash run: | cd installer - cargo check --verbose + NO_FIRMWARE_BIN=true cargo check --verbose - name: cargo test shell: bash run: | cd installer - cargo test --verbose --no-default-features + NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features build_rayhunter_check: if: needs.files_changed.outputs.daemon_changed != '0'