Fix workflow: remove upload-artifact dependency
Some checks failed
Compile apt-layer / compile (push) Failing after 0s

This commit is contained in:
robojerk 2025-07-14 21:29:51 -07:00
parent 29b9675689
commit a9a9264618

View file

@ -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'