Skip to content

Commit

Permalink
modified setup python, as it does not support arm64 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Nov 10, 2023
1 parent 2d06bbd commit e384f9b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
# actions/setup-python doesn't yet support ARM
- if: ${{ !endsWith(matrix.runner, '-arm64') }}
uses: actions/setup-python@v4
with:
python-version: "3.11"
- if: ${{ endsWith(matrix.runner, '-arm64') }}
uses: deadsnakes/[email protected]
with:
python-version: "3.11"

Expand Down

0 comments on commit e384f9b

Please sign in to comment.