diff --git a/ExamplePipeline.yml b/ExamplePipeline.yml index 4e69223..23ece50 100644 --- a/ExamplePipeline.yml +++ b/ExamplePipeline.yml @@ -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 }}