File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ inputs:
1515runs:
1616 using: composite
1717 steps:
18- - name: wipe
18+ - name: Wipe existing
1919 shell: bash
2020 run: |
21- if [ -e "${{ inputs.path }}" ]; then
22- find "${{ inputs.path }}/" -maxdepth 1 -mindepth 1 \! -name .github -exec rm {} \;
23- fi
21+ find "${{ inputs.path || "." }}/" -maxdepth 1 -mindepth 1 \! -name .github -exec rm {} \;
2422 - name: Download artifact
2523 id: download
2624 if: inputs.artifact-id
Original file line number Diff line number Diff line change 1717 type: string
1818 default: ''
1919 disable-ruff-check:
20- required: false
2120 type: boolean
2221 default: false
2322 description: Disable the ruff format check. This should only be used by release.
@@ -186,7 +185,7 @@ jobs:
186185
187186 format:
188187 runs-on: ubuntu-latest
189- if: ! inputs.disable-ruff-check
188+ if: ! inputs.disable-ruff-check
190189 steps:
191190 - name: Checkout code
192191 uses: actions/checkout@v5
You can’t perform that action at this time.
0 commit comments