Skip to content

Commit a4d313a

Browse files
authored
fix(github): Remove vars usage in build-fixtures (#1479)
1 parent d2b5148 commit a4d313a

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/actions/build-fixtures/action.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@ inputs:
33
release_name:
44
description: "Name of the fixture release"
55
required: true
6+
uv_version:
7+
description: "Version of UV to install"
8+
required: true
9+
python_version:
10+
description: "Version of Python to install"
11+
required: true
612
runs:
713
using: "composite"
814
steps:
9-
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }}
15+
- name: Install uv ${{ inputs.uv_version }} and python ${{ inputs.python_version }}
1016
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182
1117
with:
1218
enable-cache: false
13-
version: ${{ vars.UV_VERSION }}
14-
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }}
19+
version: ${{ inputs.uv_version }}
20+
python-version: ${{ inputs.python_version }}
1521
- name: Install EEST
1622
shell: bash
1723
run: uv sync --no-progress

.github/workflows/fixtures.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
- uses: ./.github/actions/build-fixtures
3232
with:
3333
release_name: ${{ matrix.name }}
34+
uv_version: ${{ vars.UV_VERSION }}
35+
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}
3436
release:
3537
runs-on: ubuntu-latest
3638
needs: build

.github/workflows/fixtures_feature.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
- uses: ./.github/actions/build-fixtures
3636
with:
3737
release_name: ${{ matrix.feature }}
38+
uv_version: ${{ vars.UV_VERSION }}
39+
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}
3840
release:
3941
runs-on: ubuntu-latest
4042
needs: build

0 commit comments

Comments
 (0)