[video][android] Add basic video for android (#26033) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Template Bare Minimum Diffs | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: [main] | |
paths: | |
- 'templates/expo-template-bare-minimum/**' | |
- '.github/workflows/bare-diffs.yml' | |
- 'docs/public/static/diffs/template-bare-minimum/**' | |
pull_request: | |
paths: | |
- 'templates/expo-template-bare-minimum/**' | |
- '.github/workflows/bare-diffs.yml' | |
- 'docs/public/static/diffs/template-bare-minimum/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
bare-diffs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: 👀 Checkout | |
uses: actions/checkout@v3 | |
- name: ⬢ Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: ♻️ Restore caches | |
uses: ./.github/actions/expo-caches | |
id: expo-caches | |
with: | |
yarn-docs: 'true' | |
yarn-tools: 'true' | |
- name: ➕ Add `bin` to GITHUB_PATH | |
run: echo "$(pwd)/bin" >> $GITHUB_PATH | |
- name: 🧐 Check diffs | |
run: | | |
echo "Checking that expo-template-bare-minimum diffs are updated" | |
bin/expotools generate-bare-diffs --check | |
- name: 🔔 Notify on Slack | |
uses: 8398a7/action-slack@v3 | |
if: failure() && github.event.ref == 'refs/heads/main' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_docs }} | |
with: | |
channel: '#expo-sdk' | |
status: ${{ job.status }} | |
fields: job,message,ref,eventName,author,took | |
author_name: Check for Changes in Bare Diffs | |
- name: 💾 Store artifacts of diff failures | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: template-bare-minimum-bare-diff-failure | |
path: docs/public/static/diffs/template-bare-minimum/raw |