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

Fixes GitHub Action does not delete old packages #67

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

mdanish98
Copy link
Contributor

@mdanish98 mdanish98 commented Mar 22, 2022

Dear Frank,

Following was the issue with earlier version of delete-package-versions@v1 :

Run actions/delete-package-versions@v1
with:
package-name: org.eclipse.basyx.basyx.sdk
num-old-versions-to-delete: 1
token: ***
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64
Error: delete version mutation failed. Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)

This issue was found and fixed in v2. Issue link : #actions/delete-package-versions#66 (comment)

Fixed by : #actions/delete-package-versions#67

I have updated delete package version from v1 to v3 and this issue is not reproducible and old package is getting deleted.
Following is the log of successful deletion in my fork:

Run actions/delete-package-versions@v3
with:
package-name: org.eclipse.basyx.basyx.sdk
num-old-versions-to-delete: 1
min-versions-to-keep: -1
ignore-versions: ^$
delete-only-pre-release-versions: false
token: ***
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64
Total versions deleted till now: 1

Following is the link of successful run in my forked repository:
#https://github.com/mdanish98/basyx-java-sdk/runs/5646426371?check_suite_focus=true

Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
@FrankSchnicke FrankSchnicke merged commit ba9f666 into eclipse-basyx:development Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants