Skip to content

Commit

Permalink
tst2
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelHolec committed Nov 12, 2024
1 parent f23b35b commit e55fbfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SNAPSHOT_PUSH_TOKEN }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- 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:
SNAPSHOT_PUSH_TOKEN: ${{ secrets.SNAPSHOT_PUSH_TOKEN }}
REF: ${{ github.event.pull_request.head.ref }}
30 changes: 0 additions & 30 deletions .github/workflows/regenerate_snapshots.yml

This file was deleted.

0 comments on commit e55fbfa

Please sign in to comment.