Skip to content

Commit

Permalink
Update(gh-actions): adjusts versions.yml for v4 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
killshot13 committed Feb 15, 2023
1 parent 2e258ae commit 1aefb3a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
delete-package-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-name: "mj-pa"
min-versions-to-keep: 2
package-name: mj-pa
package-type: npm
owner: killshot13_npm
min-versions-to-keep: 3
token: "{{ secrets.GPR_READ_DELETE }}"

ignore-versions: '^(0|[1-9]\\d*)\\.0\\.0$'
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///home/sth13/code/repomy/mj-pa/.github/workflows/versions.yml"
}
}

0 comments on commit 1aefb3a

Please sign in to comment.