Skip to content

Commit

Permalink
fix: GitHub Action can be used on ubuntu-18.04
Browse files Browse the repository at this point in the history
Always install nox with python3.10 in order to allow
using the action with an ubuntu-18.04 runner.
  • Loading branch information
mayeut committed May 7, 2022
1 parent c672acb commit 78fd717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ runs:
python-version: "3.10"

- name: "Install nox"
run: pipx install '${{ github.action_path }}'
# --python "$(which python)" => always use the last setup-python version to install nox.
run: pipx install --python "$(which python)" '${{ github.action_path }}'
shell: bash

0 comments on commit 78fd717

Please sign in to comment.