File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 5
5
secrets :
6
6
CI_USER_TOKEN :
7
7
required : true
8
- TRAVIS_COM_TOKEN :
9
- required : true
10
-
11
8
jobs :
12
9
integration_tests :
13
10
runs-on : ubuntu-latest
16
13
with :
17
14
# You should create a personal access token and store it in your repository
18
15
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'
21
18
ref : ' master'
22
19
- name : set SDK Branch if PR
23
20
env :
31
28
if : ${{ github.event_name != 'pull_request' }}
32
29
run : |
33
30
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
34
- echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
35
31
- name : Trigger build
36
32
env :
37
33
SDK : swift
@@ -41,14 +37,12 @@ jobs:
41
37
GITHUB_TOKEN : ${{ secrets.CI_USER_TOKEN }}
42
38
EVENT_TYPE : ${{ github.event_name }}
43
39
GITHUB_CONTEXT : ${{ toJson(github) }}
44
- # REPO_SLUG: ${{ github.repository }}
45
40
PULL_REQUEST_SLUG : ${{ github.repository }}
46
41
UPSTREAM_REPO : ${{ github.repository }}
47
42
PULL_REQUEST_SHA : ${{ github.event.pull_request.head.sha }}
48
43
PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
49
44
UPSTREAM_SHA : ${{ github.sha }}
50
- TOKEN : ${{ secrets.TRAVIS_COM_TOKEN }}
51
45
EVENT_MESSAGE : ${{ github.event.message }}
52
46
HOME : ' home/runner'
53
47
run : |
54
- home/runner/travisci -tools/trigger-script-with-status-update.sh
48
+ home/runner/ci-helper -tools/trigger-script-with-status-update.sh
Original file line number Diff line number Diff line change 29
29
uses : optimizely/swift-sdk/.github/workflows/integration_tests.yml@master
30
30
secrets :
31
31
CI_USER_TOKEN : ${{ secrets.CI_USER_TOKEN }}
32
- TRAVIS_COM_TOKEN : ${{ secrets.TRAVIS_COM_TOKEN }}
33
32
34
33
lint :
35
34
runs-on : macos-13
@@ -41,14 +40,13 @@ jobs:
41
40
- env :
42
41
SRCCLR_API_TOKEN : ${{ secrets.SRCCLR_API_TOKEN }}
43
42
run : |
44
- gem install cocoapods -v '1.9.3 '
43
+ gem install cocoapods -v '1.15.2 '
45
44
pod spec lint --quick
46
45
curl -sSL https://download.sourceclear.com/ci.sh | bash
47
46
48
47
unittests :
49
48
if : " ${{ github.event.inputs.PREP == '' && github.event.inputs.RELEASE == '' }}"
50
49
uses : optimizely/swift-sdk/.github/workflows/unit_tests.yml@master
51
-
52
50
prepare_for_release :
53
51
runs-on : macos-13
54
52
if : " ${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}"
69
67
BRANCH : ${{ github.ref_name }}
70
68
GITHUB_USER : optibot
71
69
GITHUB_TOKEN : ${{ secrets.CI_USER_TOKEN }}
72
- COCOAPODS_VERSION : ' 1.12.1 '
70
+ COCOAPODS_VERSION : ' 1.15.2 '
73
71
run : |
74
72
gem install cocoapods -v $COCOAPODS_VERSION
75
73
Scripts/run_prep.sh
99
97
COCOAPODS_VERSION : ' 1.15.2'
100
98
run : |
101
99
gem install cocoapods -v $COCOAPODS_VERSION
102
- Scripts/run_release.sh
100
+ Scripts/run_release.sh
You can’t perform that action at this time.
0 commit comments