Skip to content

Commit

Permalink
build: Configure python version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Oct 16, 2024
1 parent 8530dfa commit e8697f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
audit-script: npm run audit
upload-artifact-name: puya-ts
upload-artifact-path: ./dist
python-version: 3.12.6
pre-test-script: |
pipx install puyapy
9 changes: 9 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
required: false
type: string
default: 18.x
python-version:
required: false
type: string
working-directory:
required: false
type: string
Expand Down Expand Up @@ -110,6 +113,12 @@ jobs:
cache: 'npm'
cache-dependency-path: ${{ inputs.working-directory }}/package-lock.json

- name: Set up Python
if: ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}

- name: Download artifacts
if: ${{ inputs.download-artifact-name || inputs.download-artifact-pattern }}
uses: actions/download-artifact@v4
Expand Down

0 comments on commit e8697f3

Please sign in to comment.