Remove all Node.js actions, use pure shell for CI/CD
All checks were successful
CI / test (push) Successful in 1m10s
Build & Release / release (push) Successful in 2m11s

The act runner has no Node.js in container jobs. Replace
actions/upload-artifact and actions/download-artifact with
direct Gitea API uploads from a single job that builds all
three architectures sequentially.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-31 14:31:39 +04:00
parent 83f2b4c275
commit fd148acffe
2 changed files with 47 additions and 140 deletions

View File

@@ -12,29 +12,16 @@ jobs:
container:
image: rust:1.86-slim
steps:
- name: Debug workspace
run: |
echo "PWD: $(pwd)"
echo "HOME: $HOME"
echo "GITHUB_WORKSPACE: ${GITHUB_WORKSPACE:-unset}"
ls -la .
ls -la .. || true
find / -name "Cargo.toml" 2>/dev/null | head -5 || true
- name: Install git
run: apt-get update && apt-get install -y --no-install-recommends git
- name: Checkout code
- name: Ensure code is present
run: |
git config --global --add safe.directory '*'
if [ -f "Cargo.toml" ]; then
echo "Code already in workspace"
else
echo "Cloning repo..."
if [ ! -f "Cargo.toml" ]; then
git clone --depth 1 ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git /tmp/src
cp -a /tmp/src/. .
fi
ls -la Cargo.toml
- name: Run tests
run: cargo test -- --test-threads=1