Skip to content

Commit dcc3e2d

Browse files
committed
github Action: Add Github Token to Authenticate requests with Carthage
1 parent 833239f commit dcc3e2d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
with:
2121
path: Carthage
2222
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
23-
- name: Build
23+
- name: Build with Carthage
2424
if: steps.carthage-cache.outputs.cache-hit != 'true'
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
2527
run: |
2628
sh ./Consumption-Tests/Shared/carthage.sh bootstrap --cache-builds --use-xcframeworks
2729
- uses: futureware-tech/simulator-action@v1

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
with:
4242
xcode-version: '16.2.0'
4343
- name: build
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
4446
run: |
4547
sh ./Consumption-Tests/Shared/carthage.sh bootstrap --use-xcframeworks
4648
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \

0 commit comments

Comments
 (0)