Skip to content

fix: refresh credential when cache is null #133

fix: refresh credential when cache is null

fix: refresh credential when cache is null #133

Workflow file for this run

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