-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pr, preview, and release workflows into one and publish to GitH…
…ub packages (#211)
- Loading branch information
1 parent
dd65e01
commit 37850b5
Showing
4 changed files
with
97 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Cleanup | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 */14 * *' # every 14 days | ||
|
||
jobs: | ||
cleanup-updater: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
suite: | ||
- { name: 'Tingle.AspNetCore.Authentication' } | ||
- { name: 'Tingle.AspNetCore.Authorization' } | ||
- { name: 'Tingle.AspNetCore.DataProtection.MongoDB' } | ||
- { name: 'Tingle.AspNetCore.JsonPatch.NewtonsoftJson' } | ||
- { name: 'Tingle.AspNetCore.Tokens' } | ||
- { name: 'Tingle.Extensions.Caching.MongoDB' } | ||
- { name: 'Tingle.Extensions.DataAnnotations' } | ||
- { name: 'Tingle.Extensions.Http' } | ||
- { name: 'Tingle.Extensions.Http.Authentication' } | ||
- { name: 'Tingle.Extensions.JsonPatch' } | ||
- { name: 'Tingle.Extensions.PhoneValidators' } | ||
- { name: 'Tingle.Extensions.Processing' } | ||
- { name: 'Tingle.Extensions.PushNotifications' } | ||
- { name: 'Tingle.Extensions.Serilog' } | ||
|
||
steps: | ||
- name: Delete old ${{ matrix.suite.name }} packages | ||
uses: actions/delete-package-versions@v5 | ||
with: | ||
package-name: ${{ matrix.suite.name }} | ||
package-type: 'nuget' | ||
min-versions-to-keep: 10 | ||
delete-only-pre-release-versions: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.