Fix Wrong URL in Debian Package Upload

This commit is contained in:
Neshura 2023-11-17 20:16:11 +01:00
parent 6d66c5aa4a
commit b30ff9f804
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -119,23 +119,16 @@ jobs:
name: Rearrange Artifact Paths
run: |
mkdir release
find artifacts/ -type f -print0 | xargs -0 mv -t release
find artifacts/ -type f -print0 | xargs -0 mv -v -t release
-
name: Upload Artifacts As Generic Packages
name: Upload Generic Packages
run: |
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-linux-amd64 \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/comicinfo-editor-v2-linux-amd64'
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-linux-amd64 \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/comicinfo-editor-v2-linux-amd64
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload'
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/comicinfo-editor-v2-linux-amd64
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \
@ -143,6 +136,15 @@ jobs:
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
-
name: Upload Debian Package
run: |
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload'
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload
-
name: Release New Version
uses: actions/forgejo-release@v1