-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync core-refactor with master (#3137)
* Allow access TestingEngine to internal (#3134) * Change to public StorageKey constructor * cschuchardt88's feedback * Added `publish` to `github packages` (#3072) * Added nuget packages source * test * Changed to windows * fixed version * fix * fix nuget * fixed nuget.config * Fixed test * Nuget fixes * git * working release * Added cron job * switch to keep 3 packages versions * Update .github/workflows/main.yml * Update .github/workflows/main.yml Co-authored-by: Shargon <[email protected]> * change secret * change delete also --------- Co-authored-by: Jimmy <[email protected]> Co-authored-by: Shargon <[email protected]> * Optimize opcode price charging (#3131) * Optimize price * Jimmy's review * CS0618 * Update tests/Neo.UnitTests/SmartContract/UT_OpCodePrices.cs * Avoid Obsolete --------- Co-authored-by: Jimmy <[email protected]> --------- Co-authored-by: Christopher Schuchardt <[email protected]> Co-authored-by: Jimmy <[email protected]>
- Loading branch information
1 parent
b4dadcb
commit b0cf836
Showing
9 changed files
with
134 additions
and
10 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,51 @@ | ||
name: Nuget Package Cleanup (github) | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Run every day at 24:00 | ||
|
||
jobs: | ||
delete-pkgs: | ||
name: Delete Old Nuget Packages | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Delete Neo Package | ||
uses: actions/delete-package-versions@v4 | ||
with: | ||
package-name: Neo | ||
package-type: nuget | ||
min-versions-to-keep: 3 | ||
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 | ||
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 | ||
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 | ||
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 | ||
token: "${{ secrets.GITHUB_TOKEN }}" |
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
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
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
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