Skip to content

Commit

Permalink
Fix CI tests error and invalid workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuki31 committed Jan 31, 2024
1 parent 6145636 commit 42f40a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

env:
# Maven's debug flag (`-X`)
mvnDebugFlag: ${{ env.debug == true && '-X' || '' }}
mvnDebugFlag: ${{ inputs.debug == true && '-X' || '' }}

strategy:
# Set to maximum number of processes to speed up jobs run
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ${{ matrix.os }}-latest

env:
MAKE: ${{ env.debug == true && 'make -d' || 'make' }}
MAKE: ${{ inputs.debug == true && 'make -d' || 'make' }}

strategy:
# Set to maximum number of processes to speed up jobs run
Expand All @@ -128,7 +128,6 @@ jobs:

# Install deps
- name: Install dependencies
id: init
if: ${{ steps.setup-py.outputs.cache-hit != true }}
run: |
if [ $debug = 'true' ]; then
Expand All @@ -144,7 +143,6 @@ jobs:

# Compile
- name: Compile the project
needs: init
run: |
[ -d target ] && make clean > /dev/null
$MAKE compile LINT=true VERBOSE=$debug
Expand Down

0 comments on commit 42f40a9

Please sign in to comment.