Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0SH1M4S73R committed Jul 8, 2024
1 parent ae0a34d commit b4924cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
check-should-rebuild:
outputs:
should-rebuild: ${{ (steps.changed-files.outputs.any_changed == 'true') || (inputs.release != 'No Release') || inputs.force_rebuild }}
should-rebuild: ${{ (inputs.release != 'No Release') || inputs.force_rebuild || steps.changed-files.outputs.any_changed }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
Expand All @@ -38,7 +38,7 @@ jobs:
build-windows:
runs-on: windows-latest
needs: check-should-rebuild
if: needs.check-should-rebuild.outputs.should-rebuild
if: needs.check-should-rebuild.outputs.should-rebuild == 'true'
steps:
- uses: actions/checkout@v4

Expand All @@ -63,7 +63,7 @@ jobs:
build-linux:
runs-on: ubuntu-20.04
needs: check-should-rebuild
if: needs.check-should-rebuild.outputs.should-rebuild
if: needs.check-should-rebuild.outputs.should-rebuild == 'true'
env:
BYOND_MAJOR: 515
BYOND_MINOR: 1640
Expand Down

0 comments on commit b4924cd

Please sign in to comment.