Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Jul 9, 2024
1 parent 961a56d commit bbc53b6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/app-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:

- name: build app (macos)
uses: tauri-apps/tauri-action@v0
working-directory: ./apps/app
id: build_os_mac
if: startsWith(matrix.platform, 'macos')
env:
Expand All @@ -88,29 +87,29 @@ jobs:
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
args: --target universal-apple-darwin
working-directory: ./apps/app

- name: build app
uses: tauri-apps/tauri-action@v0
working-directory: ./apps/app
id: build_os
if: "!startsWith(matrix.platform, 'macos')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
working-directory: ./apps/app

- name: upload ${{ matrix.platform }}
uses: actions/upload-artifact@v3
working-directory: ./apps/app
if: startsWith(matrix.platform, 'macos')
with:
name: ${{ matrix.platform }}
path: "${{ join(fromJSON(steps.build_os_mac.outputs.artifactPaths), '\n') }}"

- name: upload ${{ matrix.platform }}
uses: actions/upload-artifact@v3
working-directory: ./apps/app
if: "!startsWith(matrix.platform, 'macos')"
with:
name: ${{ matrix.platform }}
path: "${{ join(fromJSON(steps.build_os.outputs.artifactPaths), '\n') }}"
path: "${{ join(fromJSON(steps.build_os.outputs.artifactPaths), '\n') }}"

0 comments on commit bbc53b6

Please sign in to comment.