Feat: handle decode errors (#425)
* show decode error * handle loading error in post audio/recording * tweak * upgrade deps * fix logout * update build-enjoy-app.yml
This commit is contained in:
20
.github/workflows/build-enjoy-app.yml
vendored
20
.github/workflows/build-enjoy-app.yml
vendored
@@ -1,19 +1,13 @@
|
||||
name: Build Enjoy App
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
os:
|
||||
type: choice
|
||||
description: Choose os
|
||||
options:
|
||||
- macos-12
|
||||
- macos-14
|
||||
- windows-latest
|
||||
- ubuntu-latest
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ github.event.inputs.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-12, macos-14, windows-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -31,13 +25,13 @@ jobs:
|
||||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
||||
with:
|
||||
path: "**/node_modules"
|
||||
key: ${{ github.event.inputs.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ matrix.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Install Apple certificate
|
||||
if: contains(github.event.inputs.os, 'macos')
|
||||
if: contains(matrix.os, 'macos')
|
||||
env:
|
||||
MACOS_CERTIFICATE_APPLICATION_BASE64: ${{ secrets.MACOS_CERTIFICATE_APPLICATION_BASE64 }}
|
||||
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
|
||||
@@ -54,7 +48,7 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Enjoy-${{ runner.os }}-${{ github.event.inputs.os == 'macos-14' && 'arm64' || 'x64' }}-build-${{ github.ref_name }}-${{ steps.current-time.outputs.formattedTime }}
|
||||
name: Enjoy-${{ runner.os }}-${{ matrix.os == 'macos-14' && 'arm64' || 'x64' }}-build-${{ github.ref_name }}-${{ steps.current-time.outputs.formattedTime }}
|
||||
path: |
|
||||
enjoy/out/make/**/*.deb
|
||||
enjoy/out/make/**/*.rpm
|
||||
|
||||
Reference in New Issue
Block a user