Skip to content

Commit

Permalink
GHA: platform-linux: Renames cleanup input to skip_cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 22, 2024
1 parent 1685745 commit 0a4f11a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/platform-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
ARTIFACT_OVERWRITE: ${{ inputs.artifact_overwrite || false }}
CACHE: ${{ inputs.cache || true }}
CHECKOUT_REF: ${{ inputs.ref || 'dev' }}
CLEANUP: ${{ inputs.cleanup || true }}
REPOSITORY: EA31337/EA-Tester
SKIP_CLEANUP: ${{ inputs.skip_cleanup || false }}
VERSION: ${{ inputs.version || 5 }}

# yamllint disable-line rule:truthy
Expand Down Expand Up @@ -38,16 +38,16 @@ on:
description: Whether to use cache.
required: false
type: boolean
cleanup:
default: false
description: Whether to run clean-up job.
required: false
type: boolean
ref:
default: dev
description: The branch, tag or SHA to checkout.
required: false
type: string
skip_cleanup:
default: false
description: Whether to skip a clean-up job.
required: false
type: boolean
version:
default: 5
description: Version to install.
Expand Down Expand Up @@ -94,11 +94,11 @@ jobs:
overwrite: ${{ env.ARTIFACT_OVERWRITE }}
timeout-minutes: 20
cleanup:
if: inputs.skip_cleanup != true
name: Clean-up
needs: [platform-linux]
runs-on: ubuntu-latest
steps:
- uses: geekyeggo/delete-artifact@v4
if: env.CLEANUP && github.repository == env.REPOSITORY
with:
name: ${{ env.ARTIFACT_NAME }}

0 comments on commit 0a4f11a

Please sign in to comment.