diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c6a84a..04748d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,8 @@ jobs: run: pnpm install - name: Build the app run: pnpm tauri build - - name: Upload files to a GitHub release + - name: (.dmg) Upload files to a GitHub release + if: matrix.os == 'macos-latest' uses: svenstaro/upload-release-action@2.9.0 continue-on-error: true env: @@ -65,49 +66,34 @@ jobs: with: file_glob: true tag: ${{ github.ref }} - file: | - src-tauri/target/release/bundle/*/*.dmg - src-tauri/target/release/bundle/*/*.app - src-tauri/target/release/bundle/*/*.AppImage - src-tauri/target/release/bundle/*/*.deb - src-tauri/target/release/bundle/*/*.msi - # - name: (.dmg) Upload files to a GitHub release - # if: matrix.os == 'macos-latest' - # uses: svenstaro/upload-release-action@2.9.0 - # continue-on-error: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # file_glob: true - # tag: ${{ github.ref }} - # file: src-tauri/target/release/bundle/*/*.dmg - # - name: (.msi) Upload files to a GitHub release - # if: matrix.os == 'windows-latest' - # uses: svenstaro/upload-release-action@2.9.0 - # continue-on-error: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # file_glob: true - # tag: ${{ github.ref }} - # file: src-tauri/target/release/bundle/*/*.msi - # - name: (.deb) Upload files to a GitHub release - # if: matrix.os == 'ubuntu-latest' - # uses: svenstaro/upload-release-action@2.9.0 - # continue-on-error: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # file_glob: true - # tag: ${{ github.ref }} - # file: src-tauri/target/release/bundle/*/*.deb - # - name: (.AppImage) Upload files to a GitHub release - # if: matrix.os == 'ubuntu-latest' - # uses: svenstaro/upload-release-action@2.9.0 - # continue-on-error: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # file_glob: true - # tag: ${{ github.ref }} - # file: src-tauri/target/release/bundle/*/*.AppImage + file: src-tauri/target/release/bundle/*/*.dmg + - name: (.msi) Upload files to a GitHub release + if: matrix.os == 'windows-latest' + uses: svenstaro/upload-release-action@2.9.0 + continue-on-error: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file_glob: true + tag: ${{ github.ref }} + file: src-tauri/target/release/bundle/*/*.msi + - name: (.deb) Upload files to a GitHub release + if: matrix.os == 'ubuntu-latest' + uses: svenstaro/upload-release-action@2.9.0 + continue-on-error: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file_glob: true + tag: ${{ github.ref }} + file: src-tauri/target/release/bundle/*/*.deb + - name: (.AppImage) Upload files to a GitHub release + if: matrix.os == 'ubuntu-latest' + uses: svenstaro/upload-release-action@2.9.0 + continue-on-error: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file_glob: true + tag: ${{ github.ref }} + file: src-tauri/target/release/bundle/*/*.AppImage