Skip to content

Commit

Permalink
fix input type
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 12, 2023
1 parent 8d2512f commit 8f48239
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
thread_safety:
description: "thread-safety enable/disable"
required: true
type: boolean
type: string
build_mode:
description: "release vs. debug build"
required: true
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
--with-szlib=yes
shell: bash
working-directory: ${{ runner.workspace }}/build
if: "! (inputs.thread_safety)"
if: ${{ inputs.thread_safety == 'disable' }}

- name: Autotools Configure (Thread-Safe)
run: |
Expand All @@ -92,7 +92,7 @@ jobs:
--with-szlib=yes
shell: bash
working-directory: ${{ runner.workspace }}/build
if: (inputs.thread_safety)
if: ${{ inputs.thread_safety == 'enable' }}

# BUILD
- name: Autotools Build
Expand All @@ -104,15 +104,15 @@ jobs:
- name: Autotools Run Tests
run: make check -j2
working-directory: ${{ runner.workspace }}/build
if: "! (inputs.thread_safety)"
if: ${{ inputs.thread_safety == 'disable' }}

# THREAD-SAFE
- name: Autotools Run Thread-Safe Tests
run: |
cd test
./ttsafe
working-directory: ${{ runner.workspace }}/build
if: (inputs.thread_safety)
if: ${{ inputs.thread_safety == 'enable' }}

# INSTALL (note that this runs even when we don't run the tests)
- name: Autotools Install
Expand Down

0 comments on commit 8f48239

Please sign in to comment.