1
0
forked from shaytan/rdgen

flatpak,appimage

This commit is contained in:
Bryan Gerlach
2025-04-16 18:16:15 -05:00
parent bad75caf0b
commit 807f26360e

View File

@@ -678,10 +678,6 @@ jobs:
name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb
path: . path: .
- uses: geekyeggo/delete-artifact@v5
with:
name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb
- name: Rename Binary - name: Rename Binary
run: | run: |
mv ${{ inputs.filename }}-${{ matrix.job.arch }}.deb appimage/rustdesk.deb mv ${{ inputs.filename }}-${{ matrix.job.arch }}.deb appimage/rustdesk.deb
@@ -760,10 +756,6 @@ jobs:
with: with:
name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb
path: . path: .
- uses: geekyeggo/delete-artifact@v5
with:
name: ${{ inputs.filename }}-${{ matrix.job.arch }}.deb
- name: Rename Binary - name: Rename Binary
run: | run: |
@@ -800,13 +792,13 @@ jobs:
if: ${{ fromJson(inputs.extras).rdgen == 'true' }} if: ${{ fromJson(inputs.extras).rdgen == 'true' }}
shell: bash shell: bash
run: | run: |
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ fromJson(inputs.extras).token }}" -F "file=@./${{ inputs.filename }}-${{ matrix.job.arch }}.flatpak" -F "uuid=${{ inputs.uuid }}" ${{ secrets.GENURL }}/save_custom_client curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ fromJson(inputs.extras).token }}" -F "file=@./flatpak/${{ inputs.filename }}-${{ matrix.job.arch }}.flatpak" -F "uuid=${{ inputs.uuid }}" ${{ secrets.GENURL }}/save_custom_client
- name: send file to api server - name: send file to api server
if: ${{ fromJson(inputs.extras).rdgen == 'false' }} if: ${{ fromJson(inputs.extras).rdgen == 'false' }}
shell: bash shell: bash
run: | run: |
curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ fromJson(inputs.extras).token }}" -F "file=@./${{ inputs.filename }}-${{ matrix.job.arch }}.flatpak" ${{ inputs.apiServer }}/api/save_custom_client curl -i -X POST -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${{ fromJson(inputs.extras).token }}" -F "file=@./flatpak/${{ inputs.filename }}-${{ matrix.job.arch }}.flatpak" ${{ inputs.apiServer }}/api/save_custom_client
@@ -821,3 +813,8 @@ jobs:
method: 'POST' method: 'POST'
customHeaders: '{"Content-Type": "application/json"}' customHeaders: '{"Content-Type": "application/json"}'
data: '{"uuid": "${{ inputs.uuid }}", "status": "Success"}' data: '{"uuid": "${{ inputs.uuid }}", "status": "Success"}'
- uses: geekyeggo/delete-artifact@v5
continue-on-error: true
with:
name: ${{ inputs.filename }}-*.deb