Reorders steps in GitHub Actions workflow to ensure environment variables are prepared before checking out the repository

This commit is contained in:
2025-04-26 22:01:30 +02:00
parent 961d182bf7
commit 263c3fac5e

View File

@@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🛒 Checkout Repository
uses: actions/checkout@v4
- name: ⚙️ Prepare Environment Variables - name: ⚙️ Prepare Environment Variables
run: | run: |
echo "AGENT_TOOLSDIRECTORY=/home/runner/toolcache" >> $GITHUB_ENV echo "AGENT_TOOLSDIRECTORY=/home/runner/toolcache" >> $GITHUB_ENV
mkdir -p /home/runner/toolcache mkdir -p /home/runner/toolcache
- name: 🛒 Checkout Repository
uses: actions/checkout@v4
- name: 🐍 Setup Python - name: 🐍 Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with: