Skip to content

Commit a1d060d

Browse files
Mayank PandeyMayank Pandey
authored andcommitted
Updated tauri public key v2
1 parent b2750a9 commit a1d060d

1 file changed

Lines changed: 13 additions & 106 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -532,14 +532,11 @@ jobs:
532532
echo "Generated Homebrew Cask formula:"
533533
cat local-lens.rb
534534
535-
- name: Create Release
536-
id: create_release
537-
uses: actions/create-release@v1
538-
env:
539-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
535+
- name: Create Release and Upload Assets
536+
uses: softprops/action-gh-release@v2
540537
with:
541538
tag_name: ${{ github.ref_name }}
542-
release_name: Local Lens ${{ github.ref_name }}
539+
name: Local Lens ${{ github.ref_name }}
543540
draft: true
544541
prerelease: false
545542
body: |
@@ -589,106 +586,16 @@ jobs:
589586
- Source Code: Available at this tag
590587
- Build Process: See Actions tab for build logs
591588
- Checksums: SHA256 checksums provided for verification
592-
593-
# Upload Windows artifacts
594-
- name: Upload MSI installer
595-
if: steps.find_files.outputs.msi_path
596-
uses: actions/upload-release-asset@v1
597-
env:
598-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
599-
with:
600-
upload_url: ${{ steps.create_release.outputs.upload_url }}
601-
asset_path: ${{ steps.find_files.outputs.msi_path }}
602-
asset_name: Local_Lens_${{ github.ref_name }}_x64_en-US.msi
603-
asset_content_type: application/x-msi
604-
605-
- name: Upload EXE installer
606-
if: steps.find_files.outputs.exe_path
607-
uses: actions/upload-release-asset@v1
608-
env:
609-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
610-
with:
611-
upload_url: ${{ steps.create_release.outputs.upload_url }}
612-
asset_path: ${{ steps.find_files.outputs.exe_path }}
613-
asset_name: Local_Lens_${{ github.ref_name }}_x64-setup.exe
614-
asset_content_type: application/x-msdownload
615-
616-
- name: Upload Windows checksums
617-
if: steps.find_files.outputs.checksums_win_path
618-
uses: actions/upload-release-asset@v1
619-
env:
620-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
621-
with:
622-
upload_url: ${{ steps.create_release.outputs.upload_url }}
623-
asset_path: ${{ steps.find_files.outputs.checksums_win_path }}
624-
asset_name: checksums-windows.txt
625-
asset_content_type: text/plain
626-
627-
# Upload macOS artifacts
628-
- name: Upload DMG
629-
if: steps.find_files.outputs.dmg_path
630-
uses: actions/upload-release-asset@v1
631-
env:
632-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
633-
with:
634-
upload_url: ${{ steps.create_release.outputs.upload_url }}
635-
asset_path: ${{ steps.find_files.outputs.dmg_path }}
636-
asset_name: Local_Lens_${{ github.ref_name }}_aarch64.dmg
637-
asset_content_type: application/x-apple-diskimage
638-
639-
- name: Upload macOS app tarball (for updater)
640-
if: steps.find_files.outputs.tarball_path
641-
uses: actions/upload-release-asset@v1
642-
env:
643-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
644-
with:
645-
upload_url: ${{ steps.create_release.outputs.upload_url }}
646-
asset_path: ${{ steps.find_files.outputs.tarball_path }}
647-
asset_name: Local_Lens.app.tar.gz
648-
asset_content_type: application/gzip
649-
650-
- name: Upload macOS checksums
651-
if: steps.find_files.outputs.checksums_mac_path
652-
uses: actions/upload-release-asset@v1
653-
env:
654-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
655-
with:
656-
upload_url: ${{ steps.create_release.outputs.upload_url }}
657-
asset_path: ${{ steps.find_files.outputs.checksums_mac_path }}
658-
asset_name: checksums-macos.txt
659-
asset_content_type: text/plain
660-
661-
- name: Upload macOS fix script
662-
if: steps.find_files.outputs.fix_script_path
663-
uses: actions/upload-release-asset@v1
664-
env:
665-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
666-
with:
667-
upload_url: ${{ steps.create_release.outputs.upload_url }}
668-
asset_path: ${{ steps.find_files.outputs.fix_script_path }}
669-
asset_name: Fix_Local_Lens.command
670-
asset_content_type: application/x-sh
671-
672-
- name: Upload Homebrew Cask formula
673-
uses: actions/upload-release-asset@v1
674-
env:
675-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
676-
with:
677-
upload_url: ${{ steps.create_release.outputs.upload_url }}
678-
asset_path: local-lens.rb
679-
asset_name: local-lens.rb
680-
asset_content_type: text/x-ruby
681-
682-
# Upload latest.json for Tauri auto-updater
683-
- name: Upload latest.json
684-
uses: actions/upload-release-asset@v1
685-
env:
686-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
687-
with:
688-
upload_url: ${{ steps.create_release.outputs.upload_url }}
689-
asset_path: latest.json
690-
asset_name: latest.json
691-
asset_content_type: application/json
589+
files: |
590+
${{ steps.find_files.outputs.msi_path }}
591+
${{ steps.find_files.outputs.exe_path }}
592+
${{ steps.find_files.outputs.checksums_win_path }}
593+
${{ steps.find_files.outputs.dmg_path }}
594+
${{ steps.find_files.outputs.tarball_path }}
595+
${{ steps.find_files.outputs.checksums_mac_path }}
596+
${{ steps.find_files.outputs.fix_script_path }}
597+
local-lens.rb
598+
latest.json
692599
693600
- name: Release Summary
694601
run: |

0 commit comments

Comments
 (0)