Skip to content

Commit

Permalink
fix windows runners (#2)
Browse files Browse the repository at this point in the history
* use $GITHUB_ACTION_PATH

* use local folder
  • Loading branch information
CagtayFabry authored Apr 26, 2022
1 parent 1516a56 commit 810d1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: CagtayFabry/pydeps2env@main
- name: run local action code
uses: ./
with:
file: './test/setup.cfg'
output: 'environment_test.yml'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
steps:
- name: create environment file
run: >
python3 ${{ github.action_path }}/create_conda_env_file.py ${{ inputs.file }} ${{ inputs.output }}
python3 $GITHUB_ACTION_PATH/create_conda_env_file.py ${{ inputs.file }} ${{ inputs.output }}
--channels ${{ inputs.channels }}
--extras ${{ inputs.extras }}
--setup_requires ${{ inputs.setup_requires }}
Expand Down

0 comments on commit 810d1e5

Please sign in to comment.