update-package-resolved.yml:
on:
pull_request:
paths:
- Package.swift
jobs:
precheck:
runs-on: ubuntu-latest
outputs:
files_changed: ${{ steps.file_changes.outputs.files }}
steps:
- uses: actions/checkout@v3
- id: file_changes
uses: trilom/
[email protected]
update:
runs-on: macos-latest
needs: precheck
if: contains(fromJson(needs.precheck.outputs.files_changed), 'Package.resolved') == false
steps:
- ...