Skip to content

Commit 82f4767

Browse files
authored
Fix main build (#53)
Two issues: * The action was pointing to matrix.* rather than inputs.* - this worked for PR build which has a matrix, but no main build, which does not. Fixed to inputs. * Fix _/- typo - the matrix has python-version, while the input has python_version. Fixed to the later. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent de30039 commit 82f4767

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/artifacts_build/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
- name: Set up Python
3939
uses: actions/setup-python@v4
4040
with:
41-
python-version: ${{ matrix.python-version }}
41+
python-version: ${{ inputs.python_version }}
4242

4343
- name: Install tox
4444
shell: bash
@@ -51,11 +51,11 @@ runs:
5151
path: |
5252
.tox
5353
~/.cache/pip
54-
key: v7-build-tox-cache-${{ matrix.python-version }}-${{ inputs.package_name }}-${{ inputs.os }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
54+
key: v7-build-tox-cache-${{ inputs.python_version }}-${{ inputs.package_name }}-${{ inputs.os }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
5555

5656
- name: run tox
5757
shell: bash
58-
run: tox -f ${{ matrix.python-version }}-${{ inputs.package_name }} -- -ra --benchmark-json=${{ matrix.python-version }}-${{ inputs.package_name }}-${{ inputs.os }}-benchmark.json
58+
run: tox -f ${{ inputs.python_version }}-${{ inputs.package_name }} -- -ra --benchmark-json=${{ inputs.python_version }}-${{ inputs.package_name }}-${{ inputs.os }}-benchmark.json
5959

6060
- name: Configure AWS Credentials
6161
uses: aws-actions/configure-aws-credentials@v4

0 commit comments

Comments
 (0)