Skip to content

Commit

Permalink
Update GitHub Actions workflow to set environment variables and downg…
Browse files Browse the repository at this point in the history
…rade actions versions
  • Loading branch information
dxns-hub committed Dec 5, 2024
1 parent 232ef02 commit 06e759a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/python-tests-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ on:
jobs:
test:
runs-on: self-hosted
env:
RUNNER_TOOL_CACHE: /home/dixon/actions-runner/_work/_tool
AGENT_TOOLSDIRECTORY: /home/dixon/actions-runner/_work/_tool
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2

- name: Set Environment Variables
run: |
export PATH="/home/dixon/actions-runner/_work/_tool:$PATH"
export RUNNER_TOOL_CACHE="/home/dixon/actions-runner/_work/_tool"
export AGENT_TOOLSDIRECTORY="/home/dixon/actions-runner/_work/_tool"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
Expand Down

0 comments on commit 06e759a

Please sign in to comment.