Also upload artifacts

This commit is contained in:
Antoine Martin 2024-10-11 07:47:53 -04:00
parent 719baff304
commit 5054b15fe7
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -94,3 +94,11 @@ jobs:
echo "Sending to ${{ github.server_url }}/api/packages/mirrors/generic/electron/$CI_REF_NAME/electron-$CI_REF_NAME-$_chromiumver.tar.zst"
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file electron-*.tar.zst ${{ github.server_url }}/api/packages/mirrors/generic/electron/$CI_REF_NAME/electron-$CI_REF_NAME-$_chromiumver.tar.zst
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file electron-*.tar.zst.sha512sum ${{ github.server_url }}/api/packages/mirrors/generic/electron/$CI_REF_NAME/electron-$CI_REF_NAME-$_chromiumver.zst.sha512sum
- name: Package upload
uses: actions/upload-artifact@v4
with:
name: electron
path: electron*.tar.*
retention-days: 1
compression-level: 0