Skip to content

Commit

Permalink
Test new workflow build
Browse files Browse the repository at this point in the history
  • Loading branch information
DIDIRUS4 committed Jun 25, 2024
1 parent bf2f7ab commit 0f45c44
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/tauri-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
platform: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, fedora-latest]

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

- name: build app (fedora)
uses: tauri-apps/tauri-action@v0
id: build_os_fedora
if: startsWith(matrix.platform, 'fedora')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
includeDebug: true
args: --target x86_64-unknown-linux-gnu

- name: upload ${{ matrix.platform }}
uses: actions/upload-artifact@v3
if: startsWith(matrix.platform, 'macos')
Expand All @@ -103,3 +115,11 @@ jobs:
with:
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, 'fedora')
with:
name: ${{ matrix.platform }}
path: "${{ join(fromJSON(steps.build_os_fedora.outputs.artifactPaths), '\n') }}"

0 comments on commit 0f45c44

Please sign in to comment.