mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
ExamplePipeline: update ArtifactCleanUp
This commit is contained in:
@@ -123,10 +123,19 @@ jobs:
|
||||
- PublishToGitHubPages
|
||||
|
||||
steps:
|
||||
- name: 🗑️ Delete all Artifacts
|
||||
|
||||
- name: 🗑️ Delete package Artifacts
|
||||
if: ${{ ! startsWith(github.ref, 'refs/tags') }}
|
||||
uses: geekyeggo/delete-artifact@v1
|
||||
with:
|
||||
name: |
|
||||
${{ fromJson(needs.Params.outputs.params).artifacts.package }}
|
||||
|
||||
- name: 🗑️ Delete remaining Artifacts
|
||||
uses: geekyeggo/delete-artifact@v1
|
||||
with:
|
||||
name: |
|
||||
${{ fromJson(needs.Params.outputs.params).artifacts.unittesting }}-*
|
||||
${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
|
||||
${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
|
||||
${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
|
||||
|
||||
Reference in New Issue
Block a user