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 2, 2022
1 parent b870254 commit 85aa500
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 85aa500

Please sign in to comment.