diff --git a/.github/workflows/build-swiftpm.yml b/.github/workflows/build-swiftpm.yml index 281303c..df1cb0c 100644 --- a/.github/workflows/build-swiftpm.yml +++ b/.github/workflows/build-swiftpm.yml @@ -21,5 +21,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set secret + run: git config --global url."https://${{ secrets.ACTIONS_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" + + + - name: Set pipefail + run: set -euo pipefail + + - name: Set SwiftPM Plugin config + run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES + - name: Build Package run: xcodebuild clean build -skipPackagePluginValidation -scheme ${{ matrix.packages }} -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' | xcpretty && exit ${PIPESTATUS[0]}