ci: update artifact upload actions to use standard upload-artifact action

This commit is contained in:
Simone
2026-05-17 02:15:36 +02:00
parent e29f5eb995
commit af25358b5b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -282,7 +282,7 @@ runs:
# ── Upload build artifacts on success ───────────────────────────────────── # ── Upload build artifacts on success ─────────────────────────────────────
- name: Upload artifacts - name: Upload artifacts
if: success() && inputs.skip-artifact != 'true' if: success() && inputs.skip-artifact != 'true'
uses: https://gitea.emulab.it/Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main uses: actions/upload-artifact@v4
with: with:
name: ${{ steps.invoke-ci.outputs.artifact-name }} name: ${{ steps.invoke-ci.outputs.artifact-name }}
path: ${{ steps.invoke-ci.outputs.artifact-path }}\ path: ${{ steps.invoke-ci.outputs.artifact-path }}\
@@ -292,7 +292,7 @@ runs:
# ── Upload diagnostic logs on failure ───────────────────────────────────── # ── Upload diagnostic logs on failure ─────────────────────────────────────
- name: Upload diagnostic logs on failure - name: Upload diagnostic logs on failure
if: failure() if: failure()
uses: https://gitea.emulab.it/Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main uses: actions/upload-artifact@v4
with: with:
name: build-logs-${{ github.sha }} name: build-logs-${{ github.sha }}
path: ${{ steps.invoke-ci.outputs.artifact-path }}\*.log path: ${{ steps.invoke-ci.outputs.artifact-path }}\*.log
+2 -2
View File
@@ -22,7 +22,7 @@ jobs:
smoke-windows: smoke-windows:
runs-on: windows-build runs-on: windows-build
steps: steps:
- uses: Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main - uses: https://gitea.emulab.it/Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main
with: with:
# Trivial no-op build: write a marker file to the CI output directory. # Trivial no-op build: write a marker file to the CI output directory.
# The Windows build VM maps C:\CI\output as the artifact source. # The Windows build VM maps C:\CI\output as the artifact source.
@@ -35,7 +35,7 @@ jobs:
smoke-linux: smoke-linux:
runs-on: linux-build runs-on: linux-build
steps: steps:
- uses: Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main - uses: https://gitea.emulab.it/Simone/local-ci-cd-system/.gitea/actions/local-ci-build@main
with: with:
# Trivial no-op build: write a marker file to the CI output directory. # Trivial no-op build: write a marker file to the CI output directory.
# The Linux build VM uses /opt/ci/output as the artifact source. # The Linux build VM uses /opt/ci/output as the artifact source.