File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 9999 name : windows
100100 - platform :
101101 name : linux
102- # Temporarily disable running the auto-update-from
103- - test : auto-update-from
104102 runs-on : ${{ matrix.platform.runs-on }}
105103 steps :
106104 - name : Checkout
@@ -111,12 +109,26 @@ jobs:
111109 node-version : 20
112110 cache : " npm"
113111 - name : Cache downloads
114- uses : actions/cache@v2
112+ uses : actions/cache@v4
115113 with :
116114 key : smoke-tests-downloads-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}-${{ matrix.format }}
117115 path : packages/compass-smoke-tests/.downloads
118116 - name : Install dependencies and build packages
119117 run : npm run bootstrap-ci
118+
119+ - name : Create GitHub App Token
120+ if : matrix.test == 'auto-update-from'
121+ uses : actions/create-github-app-token@v1
122+ id : app-token
123+ with :
124+ app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
125+ private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
126+ owner : 10gen
127+ repositories : compass-mongodb-com
128+ - name : Install Compass Update server
129+ if : matrix.test == 'auto-update-from'
130+ run : npm install --no-save --workspace packages/compass-smoke-tests git+https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/10gen/compass-mongodb-com.git
131+
120132 - name : Run tests
121133 env :
122134 EVERGREEN_BUCKET_NAME : ${{ inputs.bucket_name }}
You can’t perform that action at this time.
0 commit comments