Skip to content

Commit

Permalink
fix: update condition checks in GitHub workflow to use string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrodzilla committed Jul 24, 2024
1 parent 21cd2b2 commit ebc91fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,25 +128,25 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
if: matrix.exists == false
if: matrix.exists == 'false'
uses: actions/checkout@v4

- name: Install Rust
if: matrix.exists == false
if: matrix.exists == 'false'
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.os }}
override: true

- name: Build
if: matrix.exists == false
if: matrix.exists == 'false'
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.os }}
- name: Package Binary
if: matrix.exists == false
if: matrix.exists == 'false'
env:
filename: ${{ matrix.artifact_name }}
run: |
Expand All @@ -167,7 +167,7 @@ jobs:
shell: bash

- name: Upload Binary
if: matrix.exists == false
if: matrix.exists == 'false'
uses: actions/upload-artifact@v4
with:
name: ${{ env.filename }}
Expand Down

0 comments on commit ebc91fc

Please sign in to comment.