Skip to content

Commit

Permalink
Fix mis-usage of evaluation braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Solxanich committed Aug 20, 2023
1 parent 3adceef commit 4bad754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,15 @@ jobs:

- name: Post push report to 1-4-nightly-builds on Discord
uses: sarisia/actions-status-discord@v1
if: always() && github.event_name == 'push' && ${{ env.RunDiscordHook }}
if: always() && github.event_name == 'push' && env.RunDiscordHook
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_BUILDBOT }}
description: |
Click [here](https://github.com/tModLoader/tModLoader/actions/runs/${{ github.run_id }}) to view.
- name: Post pull request report to 1-4-nightly-builds on Discord
uses: sarisia/actions-status-discord@v1
if: always() && github.event_name == 'pull_request_target' && ${{ env.RunDiscordHook }}
if: always() && github.event_name == 'pull_request_target' && env.RunDiscordHook
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_BUILDBOT }}
color: ${{ fromJSON('{"success":1600299, "failure":8394270, "cancelled":10254856}')[job.status] }}
Expand Down

0 comments on commit 4bad754

Please sign in to comment.