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
Some checks failed
Build and push Archlinux package / build (push) Failing after 26s
This commit is contained in:
parent
a714aecf81
commit
0b06d0b273
1 changed files with 2 additions and 1 deletions
|
@ -14,10 +14,11 @@ jobs:
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
makepkg -fC --syncdeps --noconfirm
|
makepkg -fC --syncdeps --noconfirm
|
||||||
|
cp *.pkg.tar.zst python-paho-mqtt.pkg.tar.zst
|
||||||
- name: Push package
|
- name: Push package
|
||||||
run: |
|
run: |
|
||||||
curl -X PUT \
|
curl -X PUT \
|
||||||
https://${{ github.server_url }}/api/packages/${{ github.repository_owner }}/arch/os \
|
https://${{ github.server_url }}/api/packages/${{ github.repository_owner }}/arch/os \
|
||||||
--user ${{ vars.DOCKER_PUSH_USERNAME }}:${{ secrets.DOCKER_PUSH_PASSWORD }} \
|
--user ${{ vars.DOCKER_PUSH_USERNAME }}:${{ secrets.DOCKER_PUSH_PASSWORD }} \
|
||||||
--header "Content-Type: application/octet-stream" \
|
--header "Content-Type: application/octet-stream" \
|
||||||
--data-binary '@./*.pkg.tar.zst'
|
--data-binary '@./python-paho-mqtt.pkg.tar.zst'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue