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