-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: use @action/github Signed-off-by: Carlos A Becker <[email protected]> Co-authored-by: CrazyMax <[email protected]> Signed-off-by: Carlos A Becker <[email protected]> * Update README.md Co-authored-by: CrazyMax <[email protected]> * Update action.yml Co-authored-by: CrazyMax <[email protected]> --------- Signed-off-by: Carlos A Becker <[email protected]> Co-authored-by: CrazyMax <[email protected]> Co-authored-by: CrazyMax <[email protected]>
- Loading branch information
1 parent
b1a2381
commit 9754a25
Showing
16 changed files
with
834 additions
and
29 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 |
---|---|---|
|
@@ -20,6 +20,7 @@ ___ | |
* [Signing](#signing) | ||
* [Upload artifacts](#upload-artifacts) | ||
* [Install Only](#install-only) | ||
* [Using on GHES](#using-on-ghes) | ||
* [Customizing](#customizing) | ||
* [inputs](#inputs) | ||
* [outputs](#outputs) | ||
|
@@ -162,6 +163,37 @@ steps: | |
name: Show GoReleaser version | ||
run: goreleaser -v | ||
``` | ||
### Using on GHES | ||
|
||
If you specify a version or `latest` of GoReleaser in your workflow, the | ||
version will be downloaded from [GitHub Releases in | ||
`goreleaser/goreleaser`](https://github.com/goreleaser/goreleaser/releases) | ||
repository. These calls to `goreleaser/goreleaser` are made via unauthenticated | ||
requests, which are limited to [60 requests per hour per | ||
IP](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting). | ||
|
||
If more requests are made within the time frame, then you will start to see | ||
rate-limit errors during downloading that looks like: | ||
|
||
``` | ||
##[error]API rate limit exceeded for... | ||
``` | ||
|
||
To get a higher rate limit, you can [generate a personal access token on github.com](https://github.com/settings/tokens/new) | ||
and pass it as the `github_token` input for the action: | ||
|
||
```yaml | ||
uses: goreleaser/goreleaser-action@v4 | ||
with: | ||
github_token: ${{ secrets.GH_DOTCOM_TOKEN }} | ||
version: v1.14.1 | ||
``` | ||
|
||
If the runner is not able to access `github.com`, it will take the default one | ||
available on the GitHub Runner or runner's tool cache. See "[Setting up the | ||
tool cache on self-hosted runners without internet | ||
access](https://docs.github.com/en/[email protected]/admin/github-actions/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)" | ||
for more information. | ||
|
||
## Customizing | ||
|
||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.