Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
guyrenny authored Aug 8, 2023
1 parent 6cdfd42 commit 429002f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
with:
use-installer: true

# - if: "${{ matrix.package }} != helper"
# uses: aws-actions/configure-aws-credentials@v2
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ env.AWS_DEFAULT_REGION }}
- if: ${{ matrix.package != 'helper' }}
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Validate
working-directory: src/${{ matrix.package }}
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
--output-template-file packaged.yaml
- name: Store
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true && matrix.package != 'helper'}}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.package }}-packaged.yaml
Expand Down

0 comments on commit 429002f

Please sign in to comment.