Skip to content

Commit

Permalink
ci: add if-no-files-found: error
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Nov 9, 2023
1 parent f138cb5 commit 16af6bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
name: AgoraRtcNgExample
path: |
example/android/app/build/outputs/apk/release/*.apk
if-no-files-found: error

build-ios:
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }}
Expand Down Expand Up @@ -174,13 +175,15 @@ jobs:
name: AgoraRtcNgExample
path: |
example/ios/*.ipa
if-no-files-found: error

- name: Upload dSYM
uses: actions/upload-artifact@v3
with:
name: AgoraRtcNgExampleSymbol
path: |
example/ios/*.dSYM.zip
if-no-files-found: error

notification:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,38 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Build TypeDoc
run: yarn doc

- name: Zip It Up 🤐
run: |
zip -r react-native-agora-docs.zip docs
- name: Upload Artifact ⬆️
uses: actions/upload-artifact@v3
with:
name: react-native-agora-docs.zip
path: react-native-agora-docs.zip
if-no-files-found: error

- name: Upload Doc Archive to GitHub release ⬆️
if: github.event.release
uses: svenstaro/[email protected]
with:
file: react-native-agora-docs.zip
asset_name: react-native-agora-docs.zip
tag: ${{ github.ref_name }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload docs directory
path: 'docs'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 16af6bf

Please sign in to comment.