Fix Wrong URL in Debian Package Upload
Some checks failed
Some checks failed
This commit is contained in:
parent
6d66c5aa4a
commit
b30ff9f804
1 changed files with 12 additions and 10 deletions
|
@ -119,9 +119,9 @@ 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 \
|
||||
|
@ -130,19 +130,21 @@ jobs:
|
|||
--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
|
||||
|
||||
echo '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'
|
||||
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
|
||||
|
|
Reference in a new issue