s3 credentials

This commit is contained in:
techknowlogick 2023-02-26 13:34:26 +08:00
parent 99a53a1f4c
commit 14dfa5cc15
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,14 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
- uses: https://github.com/goreleaser/goreleaser-action@v4
- name:
run: |
echo "[default]" > ~/.aws/credentials
echo "aws_access_key_id = ${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials
echo "aws_secret_access_key = ${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials
- name: goreleaser
uses: https://github.com/goreleaser/goreleaser-action@v4
with:
distribution: goreleaser-pro
version: latest