Skip to content

Commit

Permalink
fix asset uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Oct 4, 2024
1 parent 5bef67a commit d4af355
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,19 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}

- name: upload assets
uses: crabnebula-dev/cloud-release@v0
with:
command: release upload ${{ env.CN_APPLICATION }} "${{ needs.draft.outputs.version }}" --framework tauri
api-key: ${{ secrets.CN_API_KEY }}

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.draft.outputs.upload_url }}
asset_path: ./apps/desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/dmg/Cap_${{ needs.draft.outputs.version }}_${{ matrix.settings.target }}.dmg
asset_path: ./apps/desktop/src-tauri/target/${{ matrix.settings.target }}/release/bundle/dmg/Cap_${{ needs.draft.outputs.version }}.dmg
asset_name: Cap_${{ needs.draft.outputs.version }}_${{ matrix.settings.target }}.dmg
asset_content_type: application/octet-stream

Expand Down

1 comment on commit d4af355

@vercel
Copy link

@vercel vercel bot commented on d4af355 Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.