PATH fix attempt

This commit is contained in:
onyx-and-iris 2026-03-10 03:13:48 +00:00
parent bdba07694b
commit c9b7f89453
2 changed files with 9 additions and 9 deletions

View File

@ -66,10 +66,6 @@ jobs:
path: .venv path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Add Poetry to PATH
run: echo "/c/Users/runneradmin/.local/bin" >> $GITHUB_PATH
shell: bash
- name: Install Poetry plugins - name: Install Poetry plugins
run: poetry self add poethepoet run: poetry self add poethepoet
shell: bash shell: bash
@ -87,10 +83,14 @@ jobs:
- name: Build artifacts with dynamic taskfile - name: Build artifacts with dynamic taskfile
run: task --taskfile Taskfile.dynamic.yml build-all run: task --taskfile Taskfile.dynamic.yml build-all
shell: bash shell: bash
env:
POETRY_BIN: /c/Users/runneradmin/.local/bin/poetry
- name: Create release archives - name: Create release archives
run: task --taskfile Taskfile.dynamic.yml compress-all run: task --taskfile Taskfile.dynamic.yml compress-all
shell: bash shell: bash
env:
POETRY_BIN: /c/Users/runneradmin/.local/bin/poetry
# Sunvalley theme variants # Sunvalley theme variants
- name: Upload build artifacts - Sunvalley Basic - name: Upload build artifacts - Sunvalley Basic

View File

@ -11,27 +11,27 @@ tasks:
build: build:
desc: Build specified themes dynamically (no spec files needed) desc: Build specified themes dynamically (no spec files needed)
cmds: cmds:
- poetry run python tools/dynamic_builder.py {{.THEMES}} - ${POETRY_BIN:-poetry} run python tools/dynamic_builder.py {{.THEMES}}
build-all: build-all:
desc: Build all themes desc: Build all themes
cmds: cmds:
- poetry run python tools/dynamic_builder.py all - ${POETRY_BIN:-poetry} run python tools/dynamic_builder.py all
build-azure: build-azure:
desc: Build only azure theme desc: Build only azure theme
cmds: cmds:
- poetry run python tools/dynamic_builder.py azure - ${POETRY_BIN:-poetry} run python tools/dynamic_builder.py azure
build-forest: build-forest:
desc: Build only forest theme desc: Build only forest theme
cmds: cmds:
- poetry run python tools/dynamic_builder.py forest - ${POETRY_BIN:-poetry} run python tools/dynamic_builder.py forest
build-sunvalley: build-sunvalley:
desc: Build only sunvalley theme desc: Build only sunvalley theme
cmds: cmds:
- poetry run python tools/dynamic_builder.py sunvalley - ${POETRY_BIN:-poetry} run python tools/dynamic_builder.py sunvalley
compress: compress:
desc: Compress artifacts for specified theme desc: Compress artifacts for specified theme