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 downloading of DLL releases #897

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

s09bQ5
Copy link
Collaborator

@s09bQ5 s09bQ5 commented Sep 10, 2024

As remarked in #889 (comment) there is a problem when downloading DLLs.

Merge requests from other repositories will not have access to the secret used for the ARTIFACT_ACCESS_TOKEN environment variable. The variable will be set to an empty string. Using an empty token in the Authorization header makes Github reject requests which would be allowed without that header.

If the ARTIFACT_ACCESS_TOKEN is not available, try the GITHUB_TOKEN to avoid the throttling of requests without authorization. It won't work for downloading artifacts, though.

Merge requests from other repositories will not have access to the
secret used for the ARTIFACT_ACCESS_TOKEN environment variable. The
variable will be set to an empty string. Using an empty token in the
Authorization header makes Github reject requests which would be
allowed without that header.

If the ARTIFACT_ACCESS_TOKEN is not available, try the GITHUB_TOKEN
to avoid the throttling of requests without authorization. It won't
work for downloading artifacts, though.
@barbeque-squared
Copy link
Member

Looks fine to me. I think most people that do DLL updates can create branches in the USDX repo anyway? Little bit annoying, but less so than giant git blobs.

@barbeque-squared barbeque-squared merged commit 12448ee into UltraStar-Deluxe:master Sep 10, 2024
4 of 5 checks passed
@s09bQ5 s09bQ5 deleted the dll-release-dl-fix branch September 11, 2024 18:27
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