fix(cicd): avoid node setup

This commit is contained in:
Sebastian Rust
2026-02-06 09:38:40 +01:00
parent c51b12b4d6
commit 23af44c7c6

View File

@@ -14,10 +14,15 @@ jobs:
container:
image: python:3.12-slim
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: apt-get update && apt-get install -y --no-install-recommends git curl
- name: Install dependencies
- name: Checkout
run: |
git clone --depth 1 --branch "${{ github.ref_name }}" "${{ github.server_url }}/${{ github.repository }}.git" .
git checkout "${{ github.sha }}"
- name: Install Python dependencies
run: pip install ansible ansible-bundler
- name: Verify playbook syntax
@@ -46,12 +51,5 @@ jobs:
-T bootstrap.run.sha256 \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/bootstrap/latest/bootstrap.run.sha256"
# Alternative: Upload as artifact (for manual download)
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: bootstrap-bundle
path: |
bootstrap.run
bootstrap.run.sha256
retention-days: 90
# Note: actions/upload-artifact requires Node.js, which isn't in python:3.12-slim.
# Artifacts are already uploaded to Gitea packages above.