diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cbf61f3a80..ac9998e30a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -84,12 +84,14 @@ jobs: entrypoint: /usr/bin/createdb args: -h postgres -U root ttn_lorawan_is_store_test - name: Configure AWS Credentials - if: "${{ secrets.AWS_REGION != '' }}" + if: "${{ env.AWS_REGION != '' }}" uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-region: "${{ secrets.AWS_REGION }}" role-to-assume: "arn:aws:iam::${{ secrets.AWS_USER_ID }}:role/${{ secrets.AWS_ROLE_NAME }}" role-session-name: "${{ secrets.AWS_ROLE_NAME }}-${{ github.job }}-${{ github.run_id }}" + env: + AWS_REGION: "${{ secrets.AWS_REGION }}" - name: Check out code uses: actions/checkout@v3 - name: Install Go and Dependencies