refactor credentials providers && add provider name #213
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# test against latest update of each major Java version, as well as specific updates of LTS versions: | |
java: [8, 11, 17] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Test | |
run: mvn test -B | |
env: | |
RAMAccessKeyId: ${{ secrets.RAMACCESSKEYID }} | |
RAMAccessKeySecret: ${{ secrets.RAMACCESSKEYSECRET }} | |
roleArn: ${{ secrets.ROLEARN }} | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # required |