Update Package.resolved #69
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: | |
jobs: | |
run: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Build | |
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 master |