Fix: replace actions/checkout with direct git commands (no Node.js in runner)
This commit is contained in:
@@ -16,7 +16,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
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
|
||||
|
||||
- name: Verify version is new
|
||||
run: ./scripts/verify-version.sh --builds-dir /var/www/builds.skaldagent.net
|
||||
@@ -31,7 +38,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
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
|
||||
|
||||
- name: Extract version from Cargo.toml
|
||||
id: extract-version
|
||||
|
||||
Reference in New Issue
Block a user