Update Package.resolved #109
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: Update Package.resolved | |
on: | |
schedule: | |
- cron: "0 0 * * 1" | |
workflow_dispatch: | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app/Contents/Developer | |
jobs: | |
run: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update Package.resolved | |
run: | | |
set -ex | |
swift package update | |
swift build | |
git add Package.resolved | |
git diff-index --quiet HEAD || git commit -m "Update Package.resolved" | |
git push origin main |