Skip to content

Commit

Permalink
feat: disable CodeArtifact publishing, enable CodeCov publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
maxday committed Aug 6, 2024
1 parent 18d7654 commit 69ad05d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/runtime-interface-client_merge_to_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
IS_JAVA_8: true

- name: Issue AWS credentials
if: ${{ github.repository != "aws/aws-lambda-java-libs" }}
if: ${{ github.repository != 'aws/aws-lambda-java-libs' }}
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ secrets.AWS_REGION }}
Expand All @@ -63,7 +63,7 @@ jobs:
role-duration-seconds: 900

- name: Prepare codeartifact properties
if: ${{ github.repository != "aws/aws-lambda-java-libs" }}
if: ${{ github.repository != 'aws/aws-lambda-java-libs' }}
working-directory: ./aws-lambda-java-runtime-interface-client/ric-dev-environment
run: |
cat <<EOF > codeartifact-properties.mk
Expand All @@ -74,14 +74,14 @@ jobs:
EOF
- name: Publish
if: ${{ github.repository != "aws/aws-lambda-java-libs" }}
if: ${{ github.repository != 'aws/aws-lambda-java-libs' }}
working-directory: ./aws-lambda-java-runtime-interface-client
env:
ENABLE_SNAPSHOT: ${{ secrets.ENABLE_SNAPSHOT }}
run: make publish

- name: Upload coverage to Codecov
if: ${{ github.repository != "aws/aws-lambda-java-libs" }}
if: ${{ github.repository != 'aws/aws-lambda-java-libs' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/runtime-interface-client_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
path: ./aws-lambda-java-runtime-interface-client/target/aws-lambda-java-runtime-interface-client-*.jar

- name: Upload coverage to Codecov
if: ${{ github.repository == "aws/aws-lambda-java-libs" }}
if: ${{ github.repository == 'aws/aws-lambda-java-libs' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 69ad05d

Please sign in to comment.