Skip to content

Update python-app.yml #591

Update python-app.yml

Update python-app.yml #591

Workflow file for this run

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.14.0a1'
- 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