Skip to content

Commit

Permalink
Change if statement to match powershell syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Nov 19, 2024
1 parent c8d5bd7 commit b581d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ jobs:
- name: Check if version exist in s3
run: |
set +e
$output=aws s3 ls "${{ env.OUTFILE }}"
ec=$?
$output = aws s3 ls "${{ env.OUTFILE }}"
$ec = $LastExitCode
if ( $ec -eq "0" ){
echo "Objects found ${{ env.OUTFILE }}"
exit 1
Expand Down

0 comments on commit b581d76

Please sign in to comment.