Utilize Debian Registry for .deb bundle instead of Generic
Some checks failed
Some checks failed
This commit is contained in:
parent
71ed745449
commit
f903bc0754
1 changed files with 8 additions and 2 deletions
|
@ -78,6 +78,10 @@ jobs:
|
||||||
name: linux-amd64-debian
|
name: linux-amd64-debian
|
||||||
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb
|
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
-
|
||||||
|
name: Storing Debian Version for Upload Job
|
||||||
|
id: store_deb_ver
|
||||||
|
run: echo $VERSION_CODENAME >> $GITHUB_OUTPUT
|
||||||
-
|
-
|
||||||
name: Uploading Linux AppImage Artifact
|
name: Uploading Linux AppImage Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -85,6 +89,8 @@ jobs:
|
||||||
name: linux-amd64-appimage
|
name: linux-amd64-appimage
|
||||||
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
|
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
outputs:
|
||||||
|
debian_version: ${{ steps.store_deb_ver.outputs.VERSION_CODENAME }}
|
||||||
|
|
||||||
upload-release:
|
upload-release:
|
||||||
needs: [build-linux]
|
needs: [build-linux]
|
||||||
|
@ -119,10 +125,10 @@ jobs:
|
||||||
|
|
||||||
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
||||||
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/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_version }}/main/upload'
|
||||||
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
||||||
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/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_version }}/main/upload
|
||||||
|
|
||||||
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \
|
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \
|
||||||
|
|
Reference in a new issue