Skip to content

Commit fa6e64e

Browse files
update yml
1 parent dcd0008 commit fa6e64e

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
secrets:
66
CI_USER_TOKEN:
77
required: true
8-
TRAVIS_COM_TOKEN:
9-
required: true
10-
118
jobs:
129
integration_tests:
1310
runs-on: ubuntu-latest
@@ -16,8 +13,8 @@ jobs:
1613
with:
1714
# You should create a personal access token and store it in your repository
1815
token: ${{ secrets.CI_USER_TOKEN }}
19-
repository: 'optimizely/travisci-tools'
20-
path: 'home/runner/travisci-tools'
16+
repository: 'optimizely/ci-helper-tools'
17+
path: 'home/runner/ci-helper-tools'
2118
ref: 'master'
2219
- name: set SDK Branch if PR
2320
env:
@@ -31,7 +28,6 @@ jobs:
3128
if: ${{ github.event_name != 'pull_request' }}
3229
run: |
3330
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
34-
echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
3531
- name: Trigger build
3632
env:
3733
SDK: swift
@@ -41,14 +37,12 @@ jobs:
4137
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
4238
EVENT_TYPE: ${{ github.event_name }}
4339
GITHUB_CONTEXT: ${{ toJson(github) }}
44-
#REPO_SLUG: ${{ github.repository }}
4540
PULL_REQUEST_SLUG: ${{ github.repository }}
4641
UPSTREAM_REPO: ${{ github.repository }}
4742
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
4843
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
4944
UPSTREAM_SHA: ${{ github.sha }}
50-
TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
5145
EVENT_MESSAGE: ${{ github.event.message }}
5246
HOME: 'home/runner'
5347
run: |
54-
home/runner/travisci-tools/trigger-script-with-status-update.sh
48+
home/runner/ci-helper-tools/trigger-script-with-status-update.sh

.github/workflows/swift.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
uses: optimizely/swift-sdk/.github/workflows/integration_tests.yml@master
3030
secrets:
3131
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }}
32-
TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
3332

3433
lint:
3534
runs-on: macos-13
@@ -41,14 +40,13 @@ jobs:
4140
- env:
4241
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
4342
run: |
44-
gem install cocoapods -v '1.9.3'
43+
gem install cocoapods -v '1.15.2'
4544
pod spec lint --quick
4645
curl -sSL https://download.sourceclear.com/ci.sh | bash
4746
4847
unittests:
4948
if: "${{ github.event.inputs.PREP == '' && github.event.inputs.RELEASE == '' }}"
5049
uses: optimizely/swift-sdk/.github/workflows/unit_tests.yml@master
51-
5250
prepare_for_release:
5351
runs-on: macos-13
5452
if: "${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}"
@@ -69,7 +67,7 @@ jobs:
6967
BRANCH: ${{ github.ref_name }}
7068
GITHUB_USER: optibot
7169
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
72-
COCOAPODS_VERSION: '1.12.1'
70+
COCOAPODS_VERSION: '1.15.2'
7371
run: |
7472
gem install cocoapods -v $COCOAPODS_VERSION
7573
Scripts/run_prep.sh
@@ -99,4 +97,4 @@ jobs:
9997
COCOAPODS_VERSION: '1.15.2'
10098
run: |
10199
gem install cocoapods -v $COCOAPODS_VERSION
102-
Scripts/run_release.sh
100+
Scripts/run_release.sh

0 commit comments

Comments
 (0)