From 14dfa5cc157ec4ee9ec9b94856cacc24bd172f26 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 26 Feb 2023 13:34:26 +0800 Subject: [PATCH] s3 credentials --- .gitea/workflows/release-nightly.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release-nightly.yml b/.gitea/workflows/release-nightly.yml index 149658b..3f86de6 100644 --- a/.gitea/workflows/release-nightly.yml +++ b/.gitea/workflows/release-nightly.yml @@ -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