Skip to content

Commit

Permalink
Rollback tauri-build
Browse files Browse the repository at this point in the history
  • Loading branch information
DIDIRUS4 committed Jun 25, 2024
1 parent 9795c88 commit d5643cc
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/tauri-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
branches: [ beta ]
pull_request:
jobs:
test-tauri:
tauri_build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, flatpak-ubuntu-latest]
platform: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]

runs-on: ${{ matrix.platform }}
defaults:
Expand Down Expand Up @@ -90,17 +90,16 @@ jobs:
with:
includeDebug: true

- name: Flatpak Builder
uses: flatpak/[email protected]
runs-on: ubuntu-latest
id: build_os_ubuntu_flatpak
if: startsWith(matrix.platform, 'flatpak')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
includeDebug: true
# - name: Flatpak Builder
# uses: flatpak/[email protected]
# id: build_os_ubuntu_flatpak
# if: startsWith(matrix.platform, 'flatpak')
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
# with:
# includeDebug: true

- name: upload ${{ matrix.platform }}
uses: actions/upload-artifact@v3
Expand All @@ -116,10 +115,10 @@ jobs:
name: ${{ matrix.platform }}
path: "${{ join(fromJSON(steps.build_os.outputs.artifactPaths), '\n') }}"

- name: upload ${{ matrix.platform }}
uses: actions/upload-artifact@v3
if: startsWith(matrix.platform, 'flatpak')
with:
name: ${{ matrix.platform }}
path: "${{ join(fromJSON(steps.build_os_ubuntu_flatpak.outputs.artifactPaths), '\n') }}"
# - name: upload ${{ matrix.platform }}
# uses: actions/upload-artifact@v3
# if: startsWith(matrix.platform, 'flatpak')
# with:
# name: ${{ matrix.platform }}
# path: "${{ join(fromJSON(steps.build_os_ubuntu_flatpak.outputs.artifactPaths), '\n') }}"

0 comments on commit d5643cc

Please sign in to comment.