Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 29, 2024
1 parent 8032df1 commit 731482d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: ./
with:
work-dir: testdata/path/to
test-run-with-bin-dir:
test-run-with-install-dir:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
Expand All @@ -34,4 +34,4 @@ jobs:
- uses: ./
with:
config: testdata/path/to/.octocov.yml
bin-dir: testdata/path/to
install-dir: testdata/path/to
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ inputs:
description: Working directory
default: ''
required: false
bin-dir:
install-dir:
description: "Install directory"
default: ''
required: false
Expand All @@ -51,7 +51,7 @@ runs:
script: |
const path = require('path');
const inputs = ${{ toJSON(inputs) }};
const toolpath = inputs['bin-dir'] != '' ? path.join(inputs['bin-dir'], 'octocov') : await io.which('octocov', true)
const toolpath = inputs['install-dir'] != '' ? path.join(inputs['install-dir'], 'octocov') : await io.which('octocov', true)
const opt = `--config=${inputs.config}`
const options = {};
if (inputs.workdir != '') {
Expand Down

0 comments on commit 731482d

Please sign in to comment.