Update python-app.yml #592
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python workflow with PATH manipulation | |
on: | |
push: | |
branches: [ issue-851 ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7.0-b2' | |
- name: Display modified PATH | |
run: echo $PATH | |
- name: Prepend custom path | |
run: echo "/your/custom/path" >> $GITHUB_PATH | |
# - name: Display modified PATH | |
# run: echo $PATH | |
- name: Display modified PATH | |
run: echo $PATH | |
- name: Display Python version after PATH modification | |
run: python --version | |
- name: Display modified PATH | |
run: echo $PATH |