Skip to content

Commit a826cfd

Browse files
committed
update action
1 parent c4630ac commit a826cfd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
config_file: ['./test/setup.cfg', './test/pyproject.toml']
1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: setup package
15-
run: python -m setuptools_scm
1614
- name: run local action code
1715
uses: ./
1816
with:

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ inputs:
3636
runs:
3737
using: "composite"
3838
steps:
39+
- name: pip installs
40+
run: pip3 install tomli setuptools-scm && python3 -m setuptools_scm
3941
- name: create environment file
4042
run: >
41-
pip3 install tomli &&
4243
python3 $GITHUB_ACTION_PATH/generate_environment.py ${{ inputs.file }} ${{ inputs.output }}
4344
--channels ${{ inputs.channels }}
4445
--extras ${{ inputs.extras }}

0 commit comments

Comments
 (0)