From ad9ad0c80163cf9ef86c2f3ed24114c4696a7496 Mon Sep 17 00:00:00 2001 From: Alexander Romanov Date: Sun, 1 Oct 2023 22:23:13 +0300 Subject: [PATCH] Fix CI --- .github/workflows/build-swiftpm.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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]}