Skip to content

Bump pytest from 8.4.1 to 8.4.2 #141

Bump pytest from 8.4.1 to 8.4.2

Bump pytest from 8.4.1 to 8.4.2 #141

Workflow file for this run

name: Env Var PATH
on:
push:
schedule:
- cron: "0 0 1 * *" # Midnight every month (UTC)
workflow_dispatch:
jobs:
job1:
name: Example 1
runs-on: ubuntu-latest
steps:
- name: Show PATH
run: echo "PATH is '${PATH}'"
- name: Add PATH (takes effect in subsequent steps)
run: |
echo "${HOME}/imaginary" >> "${GITHUB_PATH}"
echo 'No effect in the current step.'
echo "PATH is '${PATH}'"
- name: Show updated PATH
run: echo "PATH is '${PATH}'"
job2:
name: Example 2
runs-on: ubuntu-latest
steps:
- name: Changes made in other jobs are isolated
run: echo "PATH is '${PATH}'"
- name: Using export works for the current step
run: |
export PATH="${HOME}/imaginary:${PATH}"
echo "PATH is '${PATH}'"
- name: Using export does not persist to subsequent steps
run: echo "PATH is '${PATH}'"