Fix package push step in build workflow to use specific package filename
Some checks failed
Build and push Archlinux package / build (push) Failing after 26s

This commit is contained in:
Edgar P. Burkhart 2025-05-05 19:34:19 +02:00
parent a714aecf81
commit 0b06d0b273
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -14,10 +14,11 @@ jobs:
- name: Build package
run: |
makepkg -fC --syncdeps --noconfirm
cp *.pkg.tar.zst python-paho-mqtt.pkg.tar.zst
- name: Push package
run: |
curl -X PUT \
https://${{ github.server_url }}/api/packages/${{ github.repository_owner }}/arch/os \
--user ${{ vars.DOCKER_PUSH_USERNAME }}:${{ secrets.DOCKER_PUSH_PASSWORD }} \
--header "Content-Type: application/octet-stream" \
--data-binary '@./*.pkg.tar.zst'
--data-binary '@./python-paho-mqtt.pkg.tar.zst'