Quantcast
Channel: Download from Github Package Registry without authentication
Viewing all articles
Browse latest Browse all 60

Download from Github Package Registry without authentication

$
0
0

Fyi, you can also have this right inside a pom.xml, by adding such a “public access token” right into the repo URL:

<repository>
	<id>github</id>
	<!-- Basic auth via access token with `read:packages` scope -->
	<url>https://anon:&#82;&#69;&#65;&#68;&#95;&#80;&#65;&#67;&#75;&#65;&#71;&#69;&#83;&#95;&#84;&#79;&#75;&#69;&#78;@maven.pkg.github.com/example/*</url>
</repository>

Edit: Well, while it works locally, apparently the token is still redacted on GitHub Actions.

Read full topic


Viewing all articles
Browse latest Browse all 60

Trending Articles