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 5963394 commit 8d37841
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ on:
jobs:
check-should-rebuild:
outputs:
should-rebuild: ${{ (inputs.release != 'No Release') || inputs.force_rebuild || steps.changed-files.outputs.any_changed }}
should-rebuild: ${{ (inputs.release && input.release != 'No Release') || inputs.force_rebuild || steps.changed-files.outputs.any_changed }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
if: ${{ (inputs.release != 'No Release') && !inputs.force_rebuild }}
if: ${{ (inputs.release && input.release != 'No Release') && !inputs.force_rebuild }}
- name: Check Modified Files
uses: tj-actions/changed-files@v44
if: ${{ (inputs.release != 'No Release') && !inputs.force_rebuild }}
if: ${{ (inputs.release && input.release != 'No Release') && !inputs.force_rebuild }}
id: changed-files
with:
files: |
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
release:
runs-on: ubuntu-20.04
needs: ["build-windows", "build-linux"]
if: ${{ inputs.release != 'No Release' }}
if: ${{ inputs.release && input.release != 'No Release' }}
steps:
- uses: actions/checkout@v4
- name: Download Artifacts
Expand Down

0 comments on commit 8d37841

Please sign in to comment.