Skip to content

Design Tokens Icons Update on 2024-11-04 #2139

Design Tokens Icons Update on 2024-11-04

Design Tokens Icons Update on 2024-11-04 #2139

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer
jobs:
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Build
run: set -o pipefail && xcodebuild -scheme Orbit-Package -destination "generic/platform=iOS Simulator" | xcpretty
check-components-have-snapshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check components have snapshots
run: Automation/check_components_have_snapshot_tests.sh
check-docc-referenced-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check all types are referenced in DocC
run: swift package check-documentation
test:
needs: [build, check-components-have-snapshots, check-docc-referenced-types]
strategy:
matrix:
device: ["iPhone SE (3rd generation)"]
os_version: ["17.0"]
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Test
run: |
id=$(Automation/get_simulator.py "${{ matrix.device }}" "${{ matrix.os_version }}")
set -o pipefail && xcodebuild test -scheme Orbit-Package -destination "platform=iOS Simulator,id=$id,OS=${{ matrix.os_version }}" | xcpretty
regenerate_snapshots:
if: ${{ failure() }}
needs: test
strategy:
matrix:
device: ["iPhone SE (3rd generation)"]
os_version: ["17.0"]
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Regenerate Snapshots
run: |
id=$(Automation/get_simulator.py "${{ matrix.device }}" "${{ matrix.os_version }}")
set -o pipefail && xcodebuild test -scheme Orbit-Package -destination "platform=iOS Simulator,id=$id,OS=${{ matrix.os_version }}" OTHER_SWIFT_FLAGS="-D XCODE_IS_SNAPSHOTS_RECORDING" | xcpretty
git -C Snapshots/ add .
git commit -m "Snapshots - $id" || true
secrets:

Check failure on line 60 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 60, Col: 5): Unexpected value 'secrets'
SNAPSHOT_PUSH_TOKEN: ${{ secrets.SNAPSHOT_PUSH_TOKEN }}
REF: ${{ github.event.pull_request.head.ref }}