Skip to content

Commit

Permalink
Only install universal2 plugin on macOS runner
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkmann00 committed Apr 12, 2024
1 parent c6472cb commit 37e3094
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/setup-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ runs:
pipx inject poetry poetry-plugin-export==1.7.1
# Handle paths correctly whether on windows or otherwise
pipx inject poetry "$(python -c "import pathlib; print( str(pathlib.Path.cwd() / 'poetry-plugins' / 'poetry-plugin-pin-build') )")"
pipx inject poetry "$(python -c "import pathlib; print( str(pathlib.Path.cwd() / 'poetry-plugins' / 'poetry-plugin-universal2-wheel') )")"
- name: Install macOS plugin
if: runner.os == 'macOS'
shell: bash
run: pipx inject poetry "$(python -c "import pathlib; print( str(pathlib.Path.cwd() / 'poetry-plugins' / 'poetry-plugin-universal2-wheel') )")"

0 comments on commit 37e3094

Please sign in to comment.