Closed kazurayam closed 1 year ago
Ah, yes. Now I know the reason why.
On my Mac, I have ~/.aws/credentials
file where I have credential information of my "default" IAM User to use.
On the GitHub Actions CI, there is nothing. Therefore the error occured.
I should use GitHub Secret to pass the credential information.
I will create the 2 GitHub Secrets in the materialstore
repository
to which I would assign the value same as the default
IAM user on my local Mac.
I will edit the .github/workflows/tests.yml
file so that it creates a ~/.aws/credentails
file like
[default]
aws_access_key_id = AKIA****************
aws_secret_access_key = MKTq************************************
done
com.kazurayam.materialstore.core.filesystem.StoreOnS3Test passed when I ran it on my local Mac, but it failed in the GitHub Actions CI. The Gradle Build Scan showed an error message.