From a9a92646189afb88956c7e71f339b6976d1609a1 Mon Sep 17 00:00:00 2001 From: robojerk Date: Mon, 14 Jul 2025 21:29:51 -0700 Subject: [PATCH] Fix workflow: remove upload-artifact dependency --- .forgejo/workflows/compile-apt-layer.yml | 33 ++++++++++++++---------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/.forgejo/workflows/compile-apt-layer.yml b/.forgejo/workflows/compile-apt-layer.yml index 8af85dc..f9f3c6f 100644 --- a/.forgejo/workflows/compile-apt-layer.yml +++ b/.forgejo/workflows/compile-apt-layer.yml @@ -187,21 +187,26 @@ jobs: echo "Both compiled scripts are self-contained and ready for use!" } > COMPILATION_REPORT.md - - name: Upload compilation report - uses: actions/upload-artifact@v4 - with: - name: compilation-report - path: COMPILATION_REPORT.md - retention-days: 30 + - name: Create artifacts directory + run: | + mkdir -p artifacts + cp apt-layer.sh artifacts/ + cp install-apt-layer.sh artifacts/ + cp COMPILATION_REPORT.md artifacts/ - - name: Upload compiled scripts - uses: actions/upload-artifact@v4 - with: - name: apt-layer-compiled - path: | - apt-layer.sh - install-apt-layer.sh - retention-days: 30 + - name: Display compilation results + run: | + echo "==========================================" + echo "📦 COMPILATION COMPLETED SUCCESSFULLY" + echo "==========================================" + echo "" + echo "Generated files:" + echo "✅ apt-layer.sh ($(du -h apt-layer.sh | cut -f1))" + echo "✅ install-apt-layer.sh ($(du -h install-apt-layer.sh | cut -f1))" + echo "✅ COMPILATION_REPORT.md" + echo "" + echo "Files are available in the artifacts/ directory" + echo "==========================================" - name: Commit compiled scripts (if on main/master) if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'