Skip to content

Commit 34c9da2

Browse files
update yml
1 parent 40908ec commit 34c9da2

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/workflows/android.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
with:
3636
# You should create a personal access token and store it in your repository
3737
token: ${{ secrets.CI_USER_TOKEN }}
38-
repository: 'optimizely/travisci-tools'
39-
path: 'home/runner/travisci-tools'
38+
repository: 'optimizely/ci-helper-tools'
39+
path: 'home/runner/ci-helper-tools'
4040
ref: 'master'
4141

4242
- name: set SDK Branch if PR
@@ -45,14 +45,12 @@ jobs:
4545
if: ${{ github.event_name == 'pull_request' }}
4646
run: |
4747
echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
48-
echo "TRAVIS_BRANCH=$HEAD_REF" >> $GITHUB_ENV
4948
- name: set SDK Branch if not pull request
5049
env:
5150
REF_NAME: ${{github.ref_name}}
5251
if: ${{ github.event_name != 'pull_request' }}
5352
run: |
5453
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
55-
echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
5654
- name: Trigger build
5755
env:
5856
SDK: android
@@ -68,14 +66,13 @@ jobs:
6866
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
6967
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
7068
UPSTREAM_SHA: ${{ github.sha }}
71-
TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
7269
EVENT_MESSAGE: ${{ github.event.message }}
7370
HOME: 'home/runner'
7471
run: |
7572
echo "$GITHUB_CONTEXT"
76-
home/runner/travisci-tools/trigger-script-with-status-update.sh
73+
home/runner/ci-helper-tools/trigger-script-with-status-update.sh
7774
build:
78-
uses: optimizely/android-sdk/.github/workflows/build.yml@master
75+
uses: optimizely/android-sdk/.github/workflows/build.yml@muzahid/remove-travis
7976
with:
8077
action: build
8178
test:
@@ -141,7 +138,7 @@ jobs:
141138
uses: optimizely/android-sdk/.github/workflows/build.yml@master
142139
with:
143140
action: ship
144-
travis_tag: ${GITHUB_REF#refs/*/}
141+
github_tag: ${GITHUB_REF#refs/*/}
145142
secrets:
146143
MAVEN_SIGNING_KEY_BASE64: ${{ secrets.MAVEN_SIGNING_KEY_BASE64 }}
147144
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
@@ -153,7 +150,7 @@ jobs:
153150
uses: optimizely/android-sdk/.github/workflows/build.yml@master
154151
with:
155152
action: ship
156-
travis_tag: BB-SNAPSHOT
153+
github_tag: BB-SNAPSHOT
157154
secrets:
158155
MAVEN_SIGNING_KEY_BASE64: ${{ secrets.MAVEN_SIGNING_KEY_BASE64 }}
159156
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
action:
77
required: true
88
type: string
9-
travis_tag:
9+
github_tag:
1010
required: false
1111
type: string
1212
secrets:
@@ -39,4 +39,4 @@ jobs:
3939
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
4040
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
4141
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
42-
run: TRAVIS_TAG=${{ inputs.travis_tag }} ./gradlew ${{ inputs.action }}
42+
run: github_tag=${{ inputs.github_tag }} ./gradlew ${{ inputs.action }}

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We welcome contributions and feedback! All contributors must sign our [Contribut
1313
7. Open a pull request from `YOUR_NAME/branch_name` to `master`.
1414
8. A repository maintainer will review your pull request and, if all goes well, squash and merge it!
1515

16-
All branches will be built and run against the entire test suite on Travis with every commit.
16+
All branches will be built and run against the entire test suite on Gtihub Actions with every commit.
1717

1818
The `test-app` module is built against a real Optimizely project. Changing the project ID will cause tests to fail. The test app should be used as a reference.
1919

0 commit comments

Comments
 (0)