name: desktop-photos-helper on: pull_request: paths: &photos-helper-paths - ".github/workflows/desktop-photos-helper.yml" - "apps/desktop/native/photos-helper/**" push: branches: [main] paths: *photos-helper-paths permissions: contents: read concurrency: group: desktop-photos-helper-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: swift: name: Photos helper build and XCTest runs-on: [self-hosted, evoo-ci, macOS] timeout-minutes: 20 steps: - uses: actions/checkout@v5 with: persist-credentials: false - name: Build and test working-directory: apps/desktop/native/photos-helper run: | set -euo pipefail swift build -c release swift test