An open-source cross-platform alternative to AirDrop
ci: sub actions
Tien Do Namaaaed41e9e06
diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_android_apk.ymlsimilarity index 93%rename from .github/workflows/build_apk.ymlrename to .github/workflows/build_android_apk.ymlindex c04104cf..3a2c0c3a 100644--- a/.github/workflows/build_apk.yml+++ b/.github/workflows/build_android_apk.yml@@ -2,6 +2,7 @@ name: Compile APKon:workflow_dispatch:+ workflow_call:env:FLUTTER_VERSION: "3.41.9"@@ -66,6 +67,10 @@ jobs:with:toolchain: stable+ - name: Check rust-toolchain.toml+ working-directory: ${{ env.APK_BUILD_DIR }}/packages/localsend_isolates+ run: rustup show+- name: Dependenciesworking-directory: ${{ env.APK_BUILD_DIR }}/apprun: flutter pub getdiff --git a/.github/workflows/build_arm64_appimage.yml b/.github/workflows/build_linux_appimage_arm64.ymlsimilarity index 98%rename from .github/workflows/build_arm64_appimage.ymlrename to .github/workflows/build_linux_appimage_arm64.ymlindex 57f21367..5264de57 100644--- a/.github/workflows/build_arm64_appimage.yml+++ b/.github/workflows/build_linux_appimage_arm64.yml@@ -1,4 +1,4 @@-name: Build arm64 AppImage+name: Build linux arm64 AppImageon:workflow_dispatch:diff --git a/.github/workflows/build_appimage.yml b/.github/workflows/build_linux_appimage_x64.ymlsimilarity index 72%rename from .github/workflows/build_appimage.ymlrename to .github/workflows/build_linux_appimage_x64.ymlindex 6c5f0e8a..64a72db1 100644--- a/.github/workflows/build_appimage.yml+++ b/.github/workflows/build_linux_appimage_x64.yml@@ -1,11 +1,11 @@-name: Linux build+name: Build linux x64 AppImageon:workflow_dispatch:+ workflow_call:env:FLUTTER_VERSION: "3.41.9"- APK_BUILD_DIR: "/tmp/build"jobs:build:@@ -18,43 +18,17 @@ jobs:- name: Get version from pubspec.yamlid: get_version- working-directory: apprun: |- VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' pubspec.yaml)+ VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)echo "version=$VERSION" >> $GITHUB_OUTPUT- - uses: subosito/flutter-action@v2- with:- flutter-version: ${{ env.FLUTTER_VERSION }}- channel: "stable"-- - name: Dependencies- working-directory: app- run: flutter pub get-- - name: Build generated files- working-directory: app- run: dart run build_runner build -d-- - name: Upload updated lib files with generated code- uses: actions/upload-artifact@v6- with:- name: lib-files- path: ./app/lib/*-- build_appimage:+ build_appimage_x86_64:needs: buildruns-on: ubuntu-22.04steps:- uses: actions/checkout@v6- - name: Download generated files- uses: actions/download-artifact@v7- with:- name: lib-files- path: app/lib-- name: Install dependenciesrun: |sudo apt-get update@@ -65,6 +39,15 @@ jobs:flutter-version: ${{ env.FLUTTER_VERSION }}channel: "stable"+ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show+- name: Dependenciesworking-directory: apprun: flutter pub get@@ -98,5 +81,5 @@ jobs:- name: Upload AppImage fileuses: actions/upload-artifact@v6with:- name: appimage-result+ name: appimage-x86-64-resultpath: ./*.AppImagediff --git a/.github/workflows/build_cli_linux.yml b/.github/workflows/build_linux_cli.ymlsimilarity index 91%rename from .github/workflows/build_cli_linux.ymlrename to .github/workflows/build_linux_cli.ymlindex 55bfa503..657dc960 100644--- a/.github/workflows/build_cli_linux.yml+++ b/.github/workflows/build_linux_cli.yml@@ -1,7 +1,8 @@-name: Build CLI for Linux+name: Build linux CLIon:workflow_dispatch:+ workflow_call:jobs:build:@@ -39,6 +40,7 @@ jobs:- name: Compile CLIrun: cargo build --release --package localsend-cli+ # tar preserves the executable bit, which a bare artifact upload would lose- name: Create tar.gz archiverun: tar -czvf LocalSend-CLI-${{ needs.build.outputs.version }}-${{ matrix.suffix }}.tar.gz -C target/release localsend-clidiff --git a/.github/workflows/build_arm64_deb.yml b/.github/workflows/build_linux_deb_arm64.ymlsimilarity index 81%rename from .github/workflows/build_arm64_deb.ymlrename to .github/workflows/build_linux_deb_arm64.ymlindex 3c29ba3d..5fc9b7d8 100644--- a/.github/workflows/build_arm64_deb.yml+++ b/.github/workflows/build_linux_deb_arm64.yml@@ -1,7 +1,8 @@-name: Build arm64 deb+name: Build linux arm64 debon:workflow_dispatch:+ workflow_call:env:FLUTTER_VERSION: "3.41.9"@@ -71,17 +72,6 @@ jobs:exit 1fi- # Remove this when: https://github.com/leanflutter/flutter_distributor/pull/150 is merged- - name: Update Architecture- run: |- mkdir temp- cd temp- ar x ../${{ steps.find_deb.outputs.deb_path }}- tar xJf control.tar.xz --overwrite- sed -i '/Architecture:/c\Architecture: arm64' ./control- tar cJf control.tar.xz control postinst postrm- ar rcs ../${{ steps.find_deb.outputs.deb_path }} debian-binary control.tar.xz data.tar.xz-- name: Upload deb fileuses: actions/upload-artifact@v6with:diff --git a/.github/workflows/build_linux_deb_x64.yml b/.github/workflows/build_linux_deb_x64.ymlnew file mode 100644index 00000000..c4a0db26--- /dev/null+++ b/.github/workflows/build_linux_deb_x64.yml@@ -0,0 +1,80 @@+name: Build linux x64 deb++on:+ workflow_dispatch:+ workflow_call:++env:+ FLUTTER_VERSION: "3.41.9"++jobs:+ build:+ runs-on: ubuntu-24.04+ outputs:+ version: ${{ steps.get_version.outputs.version }}++ steps:+ - uses: actions/checkout@v6++ - name: Get version from pubspec.yaml+ id: get_version+ run: |+ VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)+ echo "version=$VERSION" >> $GITHUB_OUTPUT++ build_deb_x86_64:+ needs: build+ runs-on: ubuntu-22.04++ steps:+ - uses: actions/checkout@v6++ - name: Install dependencies+ run: |+ sudo apt-get update+ sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev++ - uses: subosito/flutter-action@v2+ with:+ flutter-version: ${{ env.FLUTTER_VERSION }}+ channel: "stable"++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show++ - name: Enable dart_distributor+ run: dart pub global activate flutter_distributor++ - name: Update PATH+ run: echo 'export PATH="$PATH:$HOME/.pub-cache/bin"' >> ~/.bashrc++ - name: Build deb package+ working-directory: app+ run: flutter_distributor package --platform linux --targets deb++ - name: Find deb file+ id: find_deb+ run: |+ VERSION=${{ needs.build.outputs.version }}+ DEB_PATH=$(find app/dist -name "localsend_app-$VERSION*-linux.deb")+ echo "deb_path=$DEB_PATH" >> $GITHUB_OUTPUT++ - name: Check if deb file exists+ id: check_file+ run: |+ if [[ ! -f "${{ steps.find_deb.outputs.deb_path }}" ]]; then+ echo "File not found: ${{ steps.find_deb.outputs.deb_path }}"+ exit 1+ fi++ - name: Upload deb file+ uses: actions/upload-artifact@v6+ with:+ name: deb-x86-64-result+ path: ${{ steps.find_deb.outputs.deb_path }}diff --git a/.github/workflows/build_rpm.yml b/.github/workflows/build_linux_rpm.ymlsimilarity index 99%rename from .github/workflows/build_rpm.ymlrename to .github/workflows/build_linux_rpm.ymlindex afface23..d558e133 100644--- a/.github/workflows/build_rpm.yml+++ b/.github/workflows/build_linux_rpm.yml@@ -1,4 +1,4 @@-name: Build rpm package+name: Build linux rpmon:workflow_dispatch:diff --git a/.github/workflows/build_arm64_tar.yml b/.github/workflows/build_linux_tar_arm64.ymlsimilarity index 97%rename from .github/workflows/build_arm64_tar.ymlrename to .github/workflows/build_linux_tar_arm64.ymlindex 58dbbbd0..46587ea7 100644--- a/.github/workflows/build_arm64_tar.yml+++ b/.github/workflows/build_linux_tar_arm64.yml@@ -1,7 +1,8 @@-name: Build arm64 tar+name: Build linux arm64 taron:workflow_dispatch:+ workflow_call:env:FLUTTER_VERSION: "3.41.9"diff --git a/.github/workflows/build_linux_tar_x64.yml b/.github/workflows/build_linux_tar_x64.ymlnew file mode 100644index 00000000..8c2b9be1--- /dev/null+++ b/.github/workflows/build_linux_tar_x64.yml@@ -0,0 +1,68 @@+name: Build linux x64 tar++on:+ workflow_dispatch:+ workflow_call:++env:+ FLUTTER_VERSION: "3.41.9"++jobs:+ build:+ runs-on: ubuntu-24.04+ outputs:+ version: ${{ steps.get_version.outputs.version }}++ steps:+ - uses: actions/checkout@v6++ - name: Get version from pubspec.yaml+ id: get_version+ run: |+ VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)+ echo "version=$VERSION" >> $GITHUB_OUTPUT++ build_tar_x86_64:+ needs: build+ runs-on: ubuntu-22.04++ steps:+ - uses: actions/checkout@v6++ - name: Install dependencies+ run: |+ sudo apt-get update+ sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev++ - uses: subosito/flutter-action@v2+ with:+ flutter-version: ${{ env.FLUTTER_VERSION }}+ channel: "stable"++ - name: Install Rust+ uses: actions-rs/toolchain@v1+ with:+ toolchain: stable++ - name: Check rust-toolchain.toml+ working-directory: packages/localsend_isolates+ run: rustup show++ - name: Dependencies+ working-directory: app+ run: flutter pub get++ - name: Compile linux+ working-directory: app+ run: flutter build linux++ - name: Create tar.gz archive+ run: |+ cd app/build/linux/x64/release/bundle+ tar -czvf ../../../../../result.tar.gz *++ - name: Upload tar.gz archive+ uses: actions/upload-artifact@v6+ with:+ name: tar-gz-x86-64-result+ path: ./app/*.tar.gzdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 39620bf5..afc5e7f7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -3,356 +3,28 @@ name: Release Drafton:workflow_dispatch:-env:- FLUTTER_VERSION: "3.41.9"- APK_BUILD_DIR: "/tmp/build"-jobs:- build:- runs-on: ubuntu-24.04- outputs:- version: ${{ steps.get_version.outputs.version }}-- steps:- - uses: actions/checkout@v6-- - name: Get version from pubspec.yaml- id: get_version- run: |- VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)- echo "version=$VERSION" >> $GITHUB_OUTPUT-+ # Each platform build lives in its own reusable workflow (also dispatchable standalone),+ # so the release build and the individual workflows cannot drift apart.+ # Each called workflow computes the version from pubspec.yaml itself.build_apk:- needs: build- runs-on: ubuntu-22.04-- steps:- - name: Checkout repository- uses: actions/checkout@v6-- - name: Remove proprietary dependencies- run: sh support/scripts/remove_proprietary_dependencies.sh-- - name: Copy files to env.APK_BUILD_DIR- run: |- mkdir -p $APK_BUILD_DIR- cp -r . $APK_BUILD_DIR-- - name: Decode key.properties file- working-directory: ${{ env.APK_BUILD_DIR }}- env:- ENCODED_STRING: ${{ secrets.ANDROID_KEY_PROPERTIES }}- run: echo $ENCODED_STRING | base64 -di > app/android/key.properties-- - name: Decode android-keystore.jks file- working-directory: ${{ env.APK_BUILD_DIR }}- env:- ENCODED_STRING: ${{ secrets.ANDROID_KEY_STORE }}- run: mkdir secrets && echo $ENCODED_STRING | base64 -di > secrets/android-keystore.jks-- - name: Set up JDK 17- uses: actions/setup-java@v5- with:- distribution: 'temurin'- java-version: '17'-- - name: Install Flutter- uses: subosito/flutter-action@v2- with:- flutter-version: ${{ env.FLUTTER_VERSION }}-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: ${{ env.APK_BUILD_DIR }}/packages/localsend_isolates- run: rustup show-- - name: Dependencies- working-directory: ${{ env.APK_BUILD_DIR }}/app- run: flutter pub get-- - name: Build APK- working-directory: ${{ env.APK_BUILD_DIR }}/app- run: flutter build apk --split-per-abi-- - name: Upload APK- uses: actions/upload-artifact@v6- with:- name: apk-result- path: |- ${{ env.APK_BUILD_DIR }}/app/build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk- ${{ env.APK_BUILD_DIR }}/app/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk- ${{ env.APK_BUILD_DIR }}/app/build/app/outputs/flutter-apk/app-x86_64-release.apk+ uses: ./.github/workflows/build_android_apk.yml+ secrets: inheritbuild_tar_x86_64:- needs: build- runs-on: ubuntu-22.04-- steps:- - uses: actions/checkout@v6-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev-- - uses: subosito/flutter-action@v2- with:- flutter-version: ${{ env.FLUTTER_VERSION }}- channel: "stable"-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: packages/localsend_isolates- run: rustup show-- - name: Dependencies- working-directory: app- run: flutter pub get-- - name: Compile linux- working-directory: app- run: flutter build linux-- - name: Create tar.gz archive- run: |- cd app/build/linux/x64/release/bundle- tar -czvf ../../../../../result.tar.gz *-- - name: Upload tar.gz archive- uses: actions/upload-artifact@v6- with:- name: tar-gz-x86-64-result- path: ./app/*.tar.gz+ uses: ./.github/workflows/build_linux_tar_x64.ymlbuild_tar_arm_64:- needs: build- runs-on: ubuntu-22.04-arm-- steps:- - uses: actions/checkout@v6-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev-- # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.- - name: Setup Flutter SDK- run: |- git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter- echo "$HOME/flutter/bin" >> $GITHUB_PATH- $HOME/flutter/bin/flutter --version-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: packages/localsend_isolates- run: rustup show-- - name: Dependencies- working-directory: app- run: flutter pub get-- - name: Compile linux- working-directory: app- run: flutter build linux-- - name: Create tar.gz archive- run: |- cd app/build/linux/arm64/release/bundle- tar -czvf ../../../../../result.tar.gz *-- - name: Upload tar.gz archive- uses: actions/upload-artifact@v6- with:- name: tar-gz-arm-64-result- path: ./app/*.tar.gz+ uses: ./.github/workflows/build_linux_tar_arm64.ymlbuild_deb_x86_64:- needs: build- runs-on: ubuntu-22.04-- steps:- - uses: actions/checkout@v6-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev-- - uses: subosito/flutter-action@v2- with:- flutter-version: ${{ env.FLUTTER_VERSION }}- channel: "stable"-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: packages/localsend_isolates- run: rustup show-- - name: Enable dart_distributor- run: dart pub global activate flutter_distributor-- - name: Update PATH- run: echo 'export PATH="$PATH:$HOME/.pub-cache/bin"' >> ~/.bashrc-- - name: Build deb package- working-directory: app- run: flutter_distributor package --platform linux --targets deb-- - name: Find deb file- id: find_deb- run: |- VERSION=${{ needs.build.outputs.version }}- DEB_PATH=$(find app/dist -name "localsend_app-$VERSION*-linux.deb")- echo "deb_path=$DEB_PATH" >> $GITHUB_OUTPUT-- - name: Check if deb file exists- id: check_file- run: |- if [[ ! -f "${{ steps.find_deb.outputs.deb_path }}" ]]; then- echo "File not found: ${{ steps.find_deb.outputs.deb_path }}"- exit 1- fi-- - name: Upload deb file- uses: actions/upload-artifact@v6- with:- name: deb-x86-64-result- path: ${{ steps.find_deb.outputs.deb_path }}+ uses: ./.github/workflows/build_linux_deb_x64.ymlbuild_deb_arm_64:- needs: build- runs-on: ubuntu-22.04-arm-- steps:- - uses: actions/checkout@v6-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev-- # Flutter doesn't provide Linux ARM64 binaries, so clone the SDK from GitHub instead of using a setup action.- - name: Setup Flutter SDK- run: |- git clone --depth 1 --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git $HOME/flutter- echo "$HOME/flutter/bin" >> $GITHUB_PATH- $HOME/flutter/bin/flutter --version-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: packages/localsend_isolates- run: rustup show-- - name: Enable dart_distributor- run: dart pub global activate flutter_distributor-- - name: Build deb package- working-directory: app- run: PATH="$PATH:$HOME/.pub-cache/bin" flutter_distributor package --platform linux --targets deb-- - name: Find deb file- id: find_deb- run: |- VERSION=${{ needs.build.outputs.version }}- DEB_PATH=$(find app/dist -name "localsend_app-$VERSION*-linux.deb")- echo "deb_path=$DEB_PATH" >> $GITHUB_OUTPUT-- - name: Check if deb file exists- id: check_file- run: |- if [[ ! -f "${{ steps.find_deb.outputs.deb_path }}" ]]; then- echo "File not found: ${{ steps.find_deb.outputs.deb_path }}"- exit 1- fi-- - name: Upload deb file- uses: actions/upload-artifact@v6- with:- name: deb-arm-64-result- path: ${{ steps.find_deb.outputs.deb_path }}+ uses: ./.github/workflows/build_linux_deb_arm64.ymlbuild_appimage_x86_64:- needs: build- runs-on: ubuntu-22.04-- steps:- - uses: actions/checkout@v6-- - name: Install dependencies- run: |- sudo apt-get update- sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev libfuse2-- - uses: subosito/flutter-action@v2- with:- flutter-version: ${{ env.FLUTTER_VERSION }}- channel: "stable"-- - name: Install Rust- uses: actions-rs/toolchain@v1- with:- toolchain: stable-- - name: Check rust-toolchain.toml- working-directory: packages/localsend_isolates- run: rustup show-- - name: Dependencies- working-directory: app- run: flutter pub get-- - name: Compile linux- working-directory: app- run: flutter build linux-- - name: Copy compiled linux files- run: |- mkdir AppDir- cp -r app/build/linux/x64/release/bundle/* AppDir/-- - name: Copy logo to AppDir- run: |- mkdir -p AppDir/usr/share/icons/hicolor/32x32/apps- cp app/assets/img/logo-32.png AppDir/usr/share/icons/hicolor/32x32/apps/localsend.png- mkdir -p AppDir/usr/share/icons/hicolor/128x128/apps- cp app/assets/img/logo-128.png AppDir/usr/share/icons/hicolor/128x128/apps/localsend.png- mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps- cp app/assets/img/logo-256.png AppDir/usr/share/icons/hicolor/256x256/apps/localsend.png-- - name: Copy Recipe to correct location- run: cp support/build/appimage/AppImageBuilder_x86_64.yml AppImageBuilder.yml-- - name: Build AppImage- uses: AppImageCrafters/build-appimage@57c3bc6963f870ce3be103117de5b5e33ffbaeb6- with:- recipe: ./AppImageBuilder.yml-- - name: Upload AppImage file- uses: actions/upload-artifact@v6- with:- name: appimage-x86-64-result- path: ./*.AppImage+ uses: ./.github/workflows/build_linux_appimage_x64.ymlbuild_windows_zip_x86_64:uses: ./.github/workflows/build_windows_zip_x64.yml@@ -376,36 +48,7 @@ jobs:contents: readbuild_cli_linux:- needs: build- strategy:- fail-fast: false- matrix:- include:- - runner: ubuntu-22.04- suffix: linux-x86-64- - runner: ubuntu-22.04-arm- suffix: linux-arm-64- runs-on: ${{ matrix.runner }}-- steps:- - uses: actions/checkout@v6-- - name: Install Rust- run: rustup toolchain install # version from rust-toolchain.toml-- - name: Compile CLI- run: cargo build --release --package localsend-cli-- # tar preserves the executable bit, which a bare artifact upload would lose- - name: Create tar.gz archive- run: tar -czvf LocalSend-CLI-${{ needs.build.outputs.version }}-${{ matrix.suffix }}.tar.gz -C target/release localsend-cli-- - name: Upload CLI- uses: actions/upload-artifact@v6- with:- name: cli-${{ matrix.suffix }}-result- path: LocalSend-CLI-${{ needs.build.outputs.version }}-${{ matrix.suffix }}.tar.gz- if-no-files-found: error+ uses: ./.github/workflows/build_linux_cli.ymlbuild_cli_windows_exe:uses: ./.github/workflows/build_windows_cli_exe.yml@@ -416,7 +59,6 @@ jobs:release:needs:- - build- build_apk- build_tar_x86_64- build_tar_arm_64@@ -433,14 +75,20 @@ jobs:steps:- uses: actions/checkout@v6+ - name: Get version from pubspec.yaml+ id: get_version+ run: |+ VERSION=$(sed -n 's/^version: \([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' app/pubspec.yaml)+ echo "version=$VERSION" >> $GITHUB_OUTPUT+- name: Draft releaseid: draft_releaseuses: release-drafter/release-drafter@v6env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:- tag: v${{ needs.build.outputs.version }}- name: v${{ needs.build.outputs.version }}+ tag: v${{ steps.get_version.outputs.version }}+ name: v${{ steps.get_version.outputs.version }}# APK- name: Download apk file@@ -459,7 +107,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: app-armeabi-v7a-release.apk- asset_name: LocalSend-${{ needs.build.outputs.version }}-android-arm32v7.apk+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-android-arm32v7.apkasset_content_type: application/vnd.android.package-archive- name: Upload Release Asset (arm64v8)@@ -469,7 +117,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: app-arm64-v8a-release.apk- asset_name: LocalSend-${{ needs.build.outputs.version }}-android-arm64v8.apk+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-android-arm64v8.apkasset_content_type: application/vnd.android.package-archive- name: Upload Release Asset (x64)@@ -479,7 +127,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: app-x86_64-release.apk- asset_name: LocalSend-${{ needs.build.outputs.version }}-android-x64.apk+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-android-x64.apkasset_content_type: application/vnd.android.package-archive# TAR.GZ (x86_64)@@ -502,7 +150,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.tar.gz- asset_name: LocalSend-${{ needs.build.outputs.version }}-linux-x86-64.tar.gz+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-linux-x86-64.tar.gzasset_content_type: application/gzip# TAR.GZ (arm_64)@@ -525,7 +173,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.tar.gz- asset_name: LocalSend-${{ needs.build.outputs.version }}-linux-arm-64.tar.gz+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-linux-arm-64.tar.gzasset_content_type: application/gzip# DEB (x86_64)@@ -545,7 +193,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.deb- asset_name: LocalSend-${{ needs.build.outputs.version }}-linux-x86-64.deb+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-linux-x86-64.debasset_content_type: application/vnd.debian.binary-package# DEB (arm_64)@@ -565,7 +213,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.deb- asset_name: LocalSend-${{ needs.build.outputs.version }}-linux-arm-64.deb+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-linux-arm-64.debasset_content_type: application/vnd.debian.binary-package# APPIMAGE (x86_64)@@ -593,7 +241,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.AppImage- asset_name: LocalSend-${{ needs.build.outputs.version }}-linux-x86-64.AppImage+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-linux-x86-64.AppImageasset_content_type: application/x-appimage# WINDOWS ZIP (x86_64)@@ -613,7 +261,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.zip- asset_name: LocalSend-${{ needs.build.outputs.version }}-windows-x86-64.zip+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-windows-x86-64.zipasset_content_type: application/zip# WINDOWS ZIP (arm_64)@@ -633,7 +281,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.zip- asset_name: LocalSend-${{ needs.build.outputs.version }}-windows-arm-64.zip+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-windows-arm-64.zipasset_content_type: application/zip# WINDOWS EXE (x86_64)@@ -653,7 +301,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result.exe- asset_name: LocalSend-${{ needs.build.outputs.version }}-windows-x86-64.exe+ asset_name: LocalSend-${{ steps.get_version.outputs.version }}-windows-x86-64.exeasset_content_type: application/vnd.microsoft.portable-executable# LINUX CLI (x86_64)@@ -669,8 +317,8 @@ jobs:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ steps.draft_release.outputs.upload_url }}- asset_path: cli-linux-x86-64-result/LocalSend-CLI-${{ needs.build.outputs.version }}-linux-x86-64.tar.gz- asset_name: LocalSend-CLI-${{ needs.build.outputs.version }}-linux-x86-64.tar.gz+ asset_path: cli-linux-x86-64-result/LocalSend-CLI-${{ steps.get_version.outputs.version }}-linux-x86-64.tar.gz+ asset_name: LocalSend-CLI-${{ steps.get_version.outputs.version }}-linux-x86-64.tar.gzasset_content_type: application/gzip# LINUX CLI (arm_64)@@ -686,8 +334,8 @@ jobs:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ steps.draft_release.outputs.upload_url }}- asset_path: cli-linux-arm-64-result/LocalSend-CLI-${{ needs.build.outputs.version }}-linux-arm-64.tar.gz- asset_name: LocalSend-CLI-${{ needs.build.outputs.version }}-linux-arm-64.tar.gz+ asset_path: cli-linux-arm-64-result/LocalSend-CLI-${{ steps.get_version.outputs.version }}-linux-arm-64.tar.gz+ asset_name: LocalSend-CLI-${{ steps.get_version.outputs.version }}-linux-arm-64.tar.gzasset_content_type: application/gzip# WINDOWS CLI EXE (x86_64)@@ -707,7 +355,7 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result-cli.exe- asset_name: LocalSend-CLI-${{ needs.build.outputs.version }}-windows-x86-64.exe+ asset_name: LocalSend-CLI-${{ steps.get_version.outputs.version }}-windows-x86-64.exeasset_content_type: application/vnd.microsoft.portable-executable# WINDOWS CLI EXE (arm_64)@@ -727,5 +375,5 @@ jobs:with:upload_url: ${{ steps.draft_release.outputs.upload_url }}asset_path: result-cli.exe- asset_name: LocalSend-CLI-${{ needs.build.outputs.version }}-windows-arm-64.exe+ asset_name: LocalSend-CLI-${{ steps.get_version.outputs.version }}-windows-arm-64.exeasset_content_type: application/vnd.microsoft.portable-executable