File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -838,6 +838,7 @@ const components = {
838838 * @property {string? } nodeJsVersion If set, installs the specified Node.js version
839839 * @property {string? } mongoDbVersion If set, installs the specified MongoDB version
840840 * @property {string|string[]? } sourcePkg If set, sets the specified source package
841+ * @property {boolean } requireRavenDBCredentials If true, sets RavenDB license environment variable
841842 */
842843
843844/**
@@ -930,6 +931,7 @@ function GenerateMatrix(testKind, enableCloudTests) {
930931 'source-pkg' : comp . sourcePkg
931932 . map ( ( p ) => 'github.com/dapr/components-contrib/' + p )
932933 . join ( ',' ) ,
934+ 'require-ravendb-credentials' : comp . requireRavenDBCredentials || true ,
933935 } )
934936 }
935937
Original file line number Diff line number Diff line change 9696 UNIQUE_ID : ${{github.run_id}}-${{github.run_attempt}}
9797 GOCOV_VER : " v1.1.0"
9898 GOTESTSUM_VER : " v1.9.0"
99- RAVENDBLICENSE : ${{ secrets.RAVENDBLICENSE }}
10099 defaults :
101100 run :
102101 shell : bash
@@ -219,6 +218,11 @@ jobs:
219218 echo "AWS_ACCESS_KEY=${{ secrets.AWS_ACCESS_KEY }}" >> $GITHUB_ENV
220219 echo "AWS_SECRET_KEY=${{ secrets.AWS_SECRET_KEY }}" >> $GITHUB_ENV
221220
221+ - name : Set RavenDB env vars
222+ if : matrix.require-ravendb-credentials == 'true'
223+ run : |
224+ echo "RAVENDBLICENSE=${{ secrets.RAVENDBLICENSE }}" >> $GITHUB_ENV
225+
222226 - name : Configure AWS Credentials
223227 if : matrix.require-aws-credentials == 'true'
224228 uses : aws-actions/configure-aws-credentials@v1
You can’t perform that action at this time.
0 commit comments