ci: fix repo path from echo/ to git-echo/ in checkout URLs
All checks were successful
CI Pipeline / Rust Format Check (pull_request) Successful in 5s
CI Pipeline / Clippy Lints (pull_request) Successful in 1m0s
CI Pipeline / Rust Unit Tests (pull_request) Successful in 1m22s
CI Pipeline / Security Audit (pull_request) Successful in 5s
CI Pipeline / Frontend Lint & Type Check (pull_request) Successful in 15s
CI Pipeline / Build .deb & Release (pull_request) Has been skipped
All checks were successful
CI Pipeline / Rust Format Check (pull_request) Successful in 5s
CI Pipeline / Clippy Lints (pull_request) Successful in 1m0s
CI Pipeline / Rust Unit Tests (pull_request) Successful in 1m22s
CI Pipeline / Security Audit (pull_request) Successful in 5s
CI Pipeline / Frontend Lint & Type Check (pull_request) Successful in 15s
CI Pipeline / Build .deb & Release (pull_request) Has been skipped
The CI workflow used echo/linux_patch_manager for archive downloads but the repo is owned by git-echo. This caused all CI jobs to fail with "gzip: stdin: not in gzip format" because curl received a 404 HTML page instead of a tarball.
This commit is contained in:
14
.gitea/workflows/ci.yml
Normal file → Executable file
14
.gitea/workflows/ci.yml
Normal file → Executable file
@ -27,7 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -94,7 +94,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -126,7 +126,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -171,7 +171,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -207,7 +207,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
TOKEN="${{ secrets.GITEATOKEN }}"
|
TOKEN="${{ secrets.GITEATOKEN }}"
|
||||||
curl -sf -H "Authorization: token ${TOKEN}" \
|
curl -sf -H "Authorization: token ${TOKEN}" \
|
||||||
"https://gitea-lxc.moon-dragon.us/echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
"https://gitea-lxc.moon-dragon.us/git-echo/linux_patch_manager/archive/${GITHUB_SHA}.tar.gz" \
|
||||||
-o repo.tar.gz
|
-o repo.tar.gz
|
||||||
tar xzf repo.tar.gz --strip-components=1
|
tar xzf repo.tar.gz --strip-components=1
|
||||||
rm repo.tar.gz
|
rm repo.tar.gz
|
||||||
@ -261,7 +261,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEATOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEATOKEN }}
|
||||||
GITEA_URL: https://gitea-lxc.moon-dragon.us
|
GITEA_URL: https://gitea-lxc.moon-dragon.us
|
||||||
GITEA_REPO: echo/linux_patch_manager
|
GITEA_REPO: git-echo/linux_patch_manager
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*=.*"\(.*\)"/\1/')
|
VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*=.*"\(.*\)"/\1/')
|
||||||
DEB=$(ls linux-patch-manager_*.deb)
|
DEB=$(ls linux-patch-manager_*.deb)
|
||||||
|
|||||||
Reference in New Issue
Block a user