Skip to content

Commit

Permalink
fix: use correct syntax for if clause
Browse files Browse the repository at this point in the history
Seriously the bad syntax in the docs since 2021 !! wtf?
actions/runner#1173

Signed-off-by: WoodenMaiden <yann.pomie@laposte.net>
  • Loading branch information
WoodenMaiden committed Sep 25, 2023
1 parent 3726ae2 commit 7526ed2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ jobs:
- run: echo ${{ steps.pre_release_check.outputs.is_pre_release }}

- name: Setup redirections to https://github.com/${{ env.REPOSITORY }}/releases/download/${{ inputs.tag }}
if: ${{ steps.pre_release_check.outputs.is_pre_release }} == 'false'
if: steps.pre_release_check.outputs.is_pre_release == 'false'
run: python scripts/setup_redirections.py ${{ env.REPOSITORY }} ${{ inputs.tag }} '${{ steps.download.outputs.downloaded_files }}'

- name: Setup redirections to https://github.com/${{ env.REPOSITORY }}/releases/download/${{ inputs.tag }} pre-releases
if: ${{ steps.pre_release_check.outputs.is_pre_release }} == 'true'
if: steps.pre_release_check.outputs.is_pre_release == 'true'
run: python scripts/setup_redirections.py -p ${{ env.REPOSITORY }} ${{ inputs.tag }} '${{ steps.download.outputs.downloaded_files }}'

- name: Updating index and README
if: ${{ steps.pre_release_check.outputs.is_pre_release }} == 'false'
if: steps.pre_release_check.outputs.is_pre_release == 'false'
run: python scripts/setup_index_and_readme.py ${{ inputs.tag }}

- name: Updating index and README with pre-release
if: ${{ steps.pre_release_check.outputs.is_pre_release }} == 'true'
if: steps.pre_release_check.outputs.is_pre_release == 'true'
run: python scripts/setup_index_and_readme.py ${{ inputs.tag }} -p '${{ steps.download.outputs.downloaded_files }}'

- name: Commit new files
Expand Down

0 comments on commit 7526ed2

Please sign in to comment.