Reorders steps in GitHub Actions workflow to ensure environment variables are prepared before checking out the repository
This commit is contained in:
6
.github/workflows/build-deb.yml
vendored
6
.github/workflows/build-deb.yml
vendored
@@ -8,14 +8,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: 🛒 Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: ⚙️ Prepare Environment Variables
|
||||
run: |
|
||||
echo "AGENT_TOOLSDIRECTORY=/home/runner/toolcache" >> $GITHUB_ENV
|
||||
mkdir -p /home/runner/toolcache
|
||||
|
||||
- name: 🛒 Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🐍 Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
Reference in New Issue
Block a user