Fix checkout URL format to match linux_patch_api
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 12s
CI Pipeline / Clippy Lints (push) Failing after 46s
CI Pipeline / Rust Unit Tests (push) Failing after 1m0s
CI Pipeline / Security Audit (push) Failing after 1m22s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 9s
CI Pipeline / Build .deb & Release (push) Has been skipped
Some checks failed
CI Pipeline / Rust Format Check (push) Successful in 12s
CI Pipeline / Clippy Lints (push) Failing after 46s
CI Pipeline / Rust Unit Tests (push) Failing after 1m0s
CI Pipeline / Security Audit (push) Failing after 1m22s
CI Pipeline / Frontend Lint & Type Check (push) Failing after 9s
CI Pipeline / Build .deb & Release (push) Has been skipped
- Remove /api/v1/repos/ from archive URLs - Use direct repo path format: /echo/linux_patch_manager/archive/ - All 6 checkout steps updated
This commit is contained in:
@ -26,14 +26,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
if ! command -v cargo &>/dev/null; then
|
||||
@ -62,14 +60,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
if ! command -v cargo &>/dev/null; then
|
||||
@ -97,14 +93,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
if ! command -v cargo &>/dev/null; then
|
||||
@ -131,14 +125,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
if ! command -v cargo &>/dev/null; then
|
||||
@ -170,14 +162,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
working-directory: frontend
|
||||
run: npm ci
|
||||
@ -208,14 +198,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||
REPO="${GITHUB_REPOSITORY:-echo/linux_patch_manager}"
|
||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||
"https://gitea-lxc.moon-dragon.us/api/v1/repos/${REPO}/archive/${GITHUB_SHA}.tar.gz" \
|
||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||
-o repo.tar.gz
|
||||
tar xzf repo.tar.gz --strip-components=1
|
||||
rm repo.tar.gz
|
||||
|
||||
|
||||
- name: Ensure Rust toolchain
|
||||
run: |
|
||||
if ! command -v cargo &>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user