forked from compAIR/libcreate
ci: also include Botball repo
This commit is contained in:
parent
6c8a7b3acc
commit
661fa82f6e
1 changed files with 12 additions and 0 deletions
|
@ -53,12 +53,24 @@ jobs:
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
url="${GITHUB_SERVER_URL}/api/packages/${{ github.repository_owner }}/debian/pool/bookworm/compair/upload"
|
url="${GITHUB_SERVER_URL}/api/packages/${{ github.repository_owner }}/debian/pool/bookworm/compair/upload"
|
||||||
|
urlBotball="${GITHUB_SERVER_URL}/api/packages/Botball/debian/pool/bookworm/wombatos/upload"
|
||||||
|
|
||||||
echo "api url: $url"
|
echo "api url: $url"
|
||||||
debfile="_packages/libcreate_${TAG}_${{ matrix.platform.dpkg }}.deb"
|
debfile="_packages/libcreate_${TAG}_${{ matrix.platform.dpkg }}.deb"
|
||||||
|
|
||||||
echo "uploading file: $debfile"
|
echo "uploading file: $debfile"
|
||||||
curl --fail-with-body \
|
curl --fail-with-body \
|
||||||
-X PUT \
|
-X PUT \
|
||||||
--user "oauth2:${{ secrets.PACKAGE_REGISTRY_TOKEN }}" \
|
--user "oauth2:${{ secrets.PACKAGE_REGISTRY_TOKEN }}" \
|
||||||
--upload-file "$debfile" \
|
--upload-file "$debfile" \
|
||||||
"$url"
|
"$url"
|
||||||
|
|
||||||
|
echo "uploading file for WombatOs: $debfile"
|
||||||
|
curl --fail-with-body \
|
||||||
|
-X PUT \
|
||||||
|
--user "oauth2:${{ secrets.PACKAGE_REGISTRY_TOKEN }}" \
|
||||||
|
--upload-file "$debfile" \
|
||||||
|
"$urlBotball"
|
||||||
|
|
||||||
echo "final url: ${GITHUB_SERVER_URL}/${{ github.repository_owner }}/-/packages/debian/libcreate/${TAG}"
|
echo "final url: ${GITHUB_SERVER_URL}/${{ github.repository_owner }}/-/packages/debian/libcreate/${TAG}"
|
||||||
|
echo "final url for Botball: ${GITHUB_SERVER_URL}/Botball/-/packages/debian/libcreate/${TAG}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue