-
Notifications
You must be signed in to change notification settings - Fork 1k
Added publish to github packages
#3072
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
Merged
shargon
merged 26 commits into
neo-project:master
from
cschuchardt88:add-github-packages
Feb 14, 2024
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fcda2ff
Added nuget packages source
cschuchardt88 29b4781
test
cschuchardt88 1ec75c2
Changed to windows
cschuchardt88 6fc072d
fixed version
cschuchardt88 9fd7349
fix
cschuchardt88 55e394d
fix nuget
cschuchardt88 3d89ada
fixed nuget.config
cschuchardt88 a8a8b3a
Fixed test
cschuchardt88 adb68ad
Nuget fixes
cschuchardt88 3d22700
git
cschuchardt88 ebce59a
working release
cschuchardt88 35ce4f1
Merge branch 'master' into add-github-packages
cschuchardt88 7cea7bc
Added cron job
cschuchardt88 3944a13
Merge branch 'add-github-packages' of https://github.com/cschuchardt8…
cschuchardt88 e53a6a4
switch to keep 3 packages versions
cschuchardt88 1581764
Merge branch 'master' into add-github-packages
cschuchardt88 8235704
Merge branch 'master' into add-github-packages
cschuchardt88 213a155
Merge branch 'master' into add-github-packages
cschuchardt88 1bb5573
Merge branch 'master' into add-github-packages
cschuchardt88 125c121
Merge branch 'master' into add-github-packages
cschuchardt88 709a3f4
Merge branch 'master' into add-github-packages
623e38a
Merge branch 'master' into add-github-packages
1c16f2e
Update .github/workflows/main.yml
shargon 557e812
Update .github/workflows/main.yml
cschuchardt88 365ef00
change secret
shargon b1dd8e0
change delete also
shargon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.