Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Neo Plugins github nuget #3493

Merged
merged 6 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ indent_size = 2
end_of_line = lf
indent_size = 2

# YAML files
[*.yml]
end_of_line = lf
indent_size = 2

# Dotnet code style settings:
[*.{cs,vb}]
# Member can be made 'readonly'
Expand Down
89 changes: 31 additions & 58 deletions .github/workflows/pkgs-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,78 +61,51 @@ jobs:

shell: python

delete-git-pkgs:
name: Delete Old Nuget Packages
delete-git-docker-pkgs:
name: Delete Old Docker Images
runs-on: ubuntu-latest

steps:
- name: Delete Neo.Cryptography.BLS12_381 Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.Cryptography.BLS12_381
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo.VM Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.VM
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo.Json Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.Json
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo.IO Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.IO
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo Package (nuget)
uses: actions/delete-package-versions@v4
with:
package-name: Neo
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo Package (docker)
uses: actions/delete-package-versions@v4
with:
package-name: Neo
package-type: docker
min-versions-to-keep: 1
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Delete Neo.ConsoleService Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.ConsoleService
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
token: "${{ secrets.GITHUB_TOKEN }}"
delete-git-nuget-pkgs:
name: Delete Old Nuget Packages
strategy:
matrix:
pkgs:
- "Neo.Plugins.StatesDumper"
shargon marked this conversation as resolved.
Show resolved Hide resolved
- "Neo.Plugins.StateService"
- "Neo.Plugins.Storage.LevelDBStore"
- "Neo.Plugins.Storage.RocksDBStore"
- "Neo.Plugins.StorageDumper"
- "Neo.Plugins.TokensTracker"
- "Neo.Wallets.SQLite"
- "Neo.Consensus.DBFT"
- "Neo.ConsoleService"
- "Neo.Cryptography.MPT"
- "Neo.Extensions"
- "Neo.Network.RPC.RpcClient"
- "Neo.Plugins.ApplicationLogs"
- "Neo.Plugins.OracleService"
- "Neo.Plugins.RpcServer"
- "Neo.Cryptography.BLS12_381"
- "Neo.VM"
- "Neo.Json"
- "Neo.IO"
- "Neo"
runs-on: ubuntu-latest

- name: Delete Neo.Extensions Package
steps:
- name: Delete ${{ matrix.pkgs }} Package
uses: actions/delete-package-versions@v4
with:
package-name: Neo.Extensions
package-name: ${{ matrix.pkgs }}
package-type: nuget
min-versions-to-keep: 3
delete-only-pre-release-versions: "true"
Expand Down
Loading