We are integrating Github Actions to our project which uses Swift Package Manager. We want to update those swift packages from the CICD. We have tried using commands like xcodebuild -resolvePackageDependencies and xcodebuild -resolvePackageDependencies -project myproject.xcodeproj -scheme my scheme
But these commands are not working. Can someone please help on how to update the swift packages either from terminal command line or GitHub Actions?