Skip to content

Commit f0882a0

Browse files
committed
setup the github env
1 parent a2944ea commit f0882a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildspec/linuxTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
# followed by Error: Could not delete obsolete instance handle Error: ENOENT: no such file or directory, unlink <path>
1414
AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/'
1515
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/'
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1617

1718
phases:
1819
install:
@@ -25,7 +26,6 @@ phases:
2526
pre_build:
2627
commands:
2728
- export HOME=/home/codebuild-user
28-
- export GITHUB_TOKEN=${GITHUB_TOKEN}
2929
- bash buildspec/shared/linux-pre_build.sh
3030

3131
build:

buildspec/packageTestVsix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/'
99
# needed or else webpack will cause it to run out of memory
1010
NODE_OPTIONS: '--max-old-space-size=8192'
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1112

1213
phases:
1314
install:
@@ -20,7 +21,6 @@ phases:
2021
pre_build:
2122
commands:
2223
- export HOME=/home/codebuild-user
23-
- export GITHUB_TOKEN=${GITHUB_TOKEN}
2424
- bash buildspec/shared/linux-pre_build.sh
2525

2626
build:

0 commit comments

Comments
 (0)