.forgejo: add name to tar upload
This commit is contained in:
parent
950432de6b
commit
0939826a99
1 changed files with 3 additions and 2 deletions
|
@ -34,6 +34,7 @@ jobs:
|
||||||
name: tarball
|
name: tarball
|
||||||
path: zotero-${{ inputs.ref_name }}.*
|
path: zotero-${{ inputs.ref_name }}.*
|
||||||
upload-tarball:
|
upload-tarball:
|
||||||
|
name: Upload to generic repo
|
||||||
runs-on: x86_64
|
runs-on: x86_64
|
||||||
needs: [build-tarball]
|
needs: [build-tarball]
|
||||||
container:
|
container:
|
||||||
|
@ -45,5 +46,5 @@ jobs:
|
||||||
uses: forgejo/download-artifact@v3
|
uses: forgejo/download-artifact@v3
|
||||||
- name: Package deployment
|
- name: Package deployment
|
||||||
run: |
|
run: |
|
||||||
curl --user forge:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./zotero-${{ inputs.ref_name }}.tar.gz ${{ github.server_url }}/api/packages/mirrors/generic/zotero/${{ inputs.ref_name }}/zotero-${{ inputs.ref_name}}.tar.gz
|
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./zotero-${{ inputs.ref_name }}.tar.gz ${{ github.server_url }}/api/packages/mirrors/generic/zotero/${{ inputs.ref_name }}/zotero-${{ inputs.ref_name}}.tar.gz
|
||||||
curl --user forge:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./zotero-${{ inputs.ref_name }}.tar.gz.sha512sum ${{ github.server_url }}/api/packages/mirrors/generic/zotero/${{ inputs.ref_name }}/zotero-${{ inputs.ref_name}}.tar.gz.sha512sum
|
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./zotero-${{ inputs.ref_name }}.tar.gz.sha512sum ${{ github.server_url }}/api/packages/mirrors/generic/zotero/${{ inputs.ref_name }}/zotero-${{ inputs.ref_name}}.tar.gz.sha512sum
|
||||||
|
|
Loading…
Reference in a new issue