mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Revert "Added 'allow_failure' option for StaticTypeCheck job."
This reverts commit 6d94f6f471.
This commit is contained in:
2
.github/workflows/Parameters.yml
vendored
2
.github/workflows/Parameters.yml
vendored
@@ -36,7 +36,7 @@ on:
|
||||
default: '3.6 3.7 3.8 3.9 3.10'
|
||||
type: string
|
||||
name:
|
||||
description: 'Name of the tool/package.'
|
||||
description: 'Name of the tool.'
|
||||
required: true
|
||||
type: string
|
||||
outputs:
|
||||
|
||||
9
.github/workflows/StaticTypeCheck.yml
vendored
9
.github/workflows/StaticTypeCheck.yml
vendored
@@ -44,11 +44,6 @@ on:
|
||||
description: 'Commands to run the static type checks.'
|
||||
required: true
|
||||
type: string
|
||||
allow_failure:
|
||||
description: 'Allow a type checking to be failing without failing the overall workflow.'
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
artifact:
|
||||
description: 'Name of the typing artifact.'
|
||||
required: true
|
||||
@@ -75,12 +70,12 @@ jobs:
|
||||
python -m pip install ${{ inputs.requirements }}
|
||||
|
||||
- name: Check Static Typing
|
||||
continue-on-error: ${{ inputs.allow_failure }}
|
||||
continue-on-error: true
|
||||
run: ${{ inputs.commands }}
|
||||
|
||||
- name: 📤 Upload 'Static Typing Report' artifact
|
||||
if: ${{ inputs.artifact != '' }}
|
||||
continue-on-error: ${{ inputs.allow_failure }}
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ inputs.artifact }}
|
||||
|
||||
Reference in New Issue
Block a user