Skip to content

Commit

Permalink
chore: adding package cleanup action (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Roberts <[email protected]>
  • Loading branch information
paulushcgcj and DerekRoberts authored Nov 25, 2024
1 parent 75bfd87 commit 5356908
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,28 @@ jobs:
<version>${{ needs.vars.outputs.semver }}</version>
</dependency>
```
cleanup:
name: Dependency cleanup
needs: [tagging]
runs-on: ununtu-24.04
strategy:
matrix:
name: [core,spring,certextract]
include:
- name: core
type: 'maven'
package: 'ca.bc.gov.nrs-commons.forest-client-core'
- name: spring
type: 'maven'
package: 'ca.bc.gov.nrs-commons.forest-client-spring'
- name: certextract
type: 'container'
package: 'certextractor'
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: ${{ matrix.package }}
package-type: ${{ matrix.type }}
min-versions-to-keep: 2

0 comments on commit 5356908

Please sign in to comment.