Fix: switch back to actions/checkout@v4 (runner nativo ha Node.js)
Nightly Build / build (push) Failing after 5m41s
Nightly Build / build (push) Failing after 5m41s
This commit is contained in:
@@ -10,15 +10,7 @@ jobs:
|
||||
runs-on: linux-amd64
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
# No Node.js available in runner container — use git directly
|
||||
cd "${GITHUB_WORKSPACE:-.}"
|
||||
git init
|
||||
git remote add origin http://gitea:3000/dguiducci/Skald-Circle.git
|
||||
git fetch --depth 1 origin "${GITHUB_REF_NAME:-main}"
|
||||
git checkout FETCH_HEAD
|
||||
git submodule update --init --recursive 2>/dev/null || true
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build native (linux/amd64)
|
||||
run: ./build.sh
|
||||
|
||||
@@ -15,15 +15,7 @@ jobs:
|
||||
runs-on: linux-amd64
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
# No Node.js available in runner container — use git directly
|
||||
cd "${GITHUB_WORKSPACE:-.}"
|
||||
git init
|
||||
git remote add origin http://gitea:3000/dguiducci/Skald-Circle.git
|
||||
git fetch --depth 1 origin "${GITHUB_REF_NAME:-release}"
|
||||
git checkout FETCH_HEAD
|
||||
git submodule update --init --recursive 2>/dev/null || true
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Verify version is new
|
||||
run: ./scripts/verify-version.sh --builds-dir /var/www/builds.skaldagent.net
|
||||
@@ -37,15 +29,7 @@ jobs:
|
||||
version: ${{ steps.extract-version.outputs.version }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
# No Node.js available in runner container — use git directly
|
||||
cd "${GITHUB_WORKSPACE:-.}"
|
||||
git init
|
||||
git remote add origin http://gitea:3000/dguiducci/Skald-Circle.git
|
||||
git fetch --depth 1 origin "${GITHUB_REF_NAME:-release}"
|
||||
git checkout FETCH_HEAD
|
||||
git submodule update --init --recursive 2>/dev/null || true
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Extract version from Cargo.toml
|
||||
id: extract-version
|
||||
|
||||
@@ -39,7 +39,7 @@ Build automatica su NiPoGi con Gitea Actions (runner nativo v2.1.0):
|
||||
| `scripts/verify-version.sh` | Verifica che una release non sia già buildata | ✅ |
|
||||
| `.gitea/workflows/nightly.yml` | Push su `main` → build amd64+arm64 → nightly/ | ✅ |
|
||||
| `.gitea/workflows/release.yml` | PR check `verify-version` + merge → build → releases/v{ver}/ | ✅ |
|
||||
| **act_runner** su NiPoGi | Docker, label `linux-amd64`, host mode | ✅ |
|
||||
| **act_runner** nativo su NiPoGi | v2.1.0, host-mode systemd service | ✅ |
|
||||
| **Cross toolchain** (arm64) | `gcc-aarch64-linux-gnu` + `rustup target add` | ✅ |
|
||||
| **Caddy `builds.skaldagent.net`** | Configurato + directory `/var/www/builds.skaldagent.net/` | ✅ |
|
||||
| **Route53 `builds.skaldagent.net`** | A record → 145.40.169.107 | ✅ |
|
||||
|
||||
Reference in New Issue
Block a user