Add curl package for Gitea Alpine Package Registry upload
Some checks failed
Build Debian Package / build-debian (push) Successful in 2m3s
Build Alpine Package / build-alpine (push) Failing after 2m26s

- Install curl package in Alpine build workflow
- Ensure curl is available for package upload step
- Prepare for package registry upload with authentication
This commit is contained in:
2025-02-01 07:11:38 +00:00
parent 16d35c2a0e
commit 4ef3eec229

View File

@@ -82,6 +82,7 @@ jobs:
- name: Upload to Gitea Alpine Package Registry
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
apk add --no-cache curl
curl --user "eric:df299a6e592a8bd829d018b7816e76d03756408d" \
--upload-file alpine_build/cpu-check-${{ env.PKG_VERSION }}-r${{ env.PKG_RELEASE }}.apk \
"https://git.ericxliu.me/api/packages/eric/alpine/v3.17/main"