Skip to content

Commit

Permalink
Only test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Jul 11, 2023
1 parent e2d28f5 commit 38d0195
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 22 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/CI-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: Build and Test ml-commons
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
COHERE_KEY: ${{ secrets.COHERE_KEY }}
# This workflow is triggered on pull requests and push to any branches
on:
pull_request:
Expand All @@ -14,12 +11,29 @@ jobs:
Build-ml:
strategy:
matrix:
java: [11, 17]
java: [11]
#java: [11, 17]

name: Build and Test MLCommons Plugin
runs-on: ubuntu-latest

permissions:
id-token: write
contents: write

steps:
- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.ML_ROLE }}
aws-region: us-west-2

- name: Test print
run: |
export OPENAI_KEY=$(aws secretsmanager get-secret-value --secret-id github_openai_key --query SecretString --output text)
echo OPENAI_KEY $OPENAI_KEY
exit 1
#echo "::add-mask::$OPENAI_KEY"
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v1
with:
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/dco.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 38d0195

Please sign in to comment.