Skip to content

Commit

Permalink
:octocat: I finally fixed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatXliner committed Apr 4, 2024
1 parent f6381ce commit 957178c
Showing 1 changed file with 33 additions and 47 deletions.
80 changes: 33 additions & 47 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,57 +57,43 @@ 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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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

0 comments on commit 957178c

Please sign in to comment.