-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to composite action and use cache dir (#55)
Switch to composite action so we can get rid of Javascript and install cr to the cache location. Signed-off-by: Reinhard Nägele <[email protected]>
- Loading branch information
1 parent
7e3f32e
commit 565e779
Showing
5 changed files
with
52 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ A GitHub action to turn a GitHub project into a self-hosted Helm chart repo, usi | |
|
||
For more information on inputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#input) | ||
|
||
- `version`: The chart-releaser version to use (default: v1.0.0) | ||
- `version`: The chart-releaser version to use (default: v1.1.1) | ||
- `config`: Optional config file for chart-releaser | ||
- `charts_dir`: The charts directory | ||
- `charts_repo_url`: The GitHub Pages URL to the charts repo (default: `https://<owner>.github.io/<project>`) | ||
|
@@ -46,8 +46,13 @@ jobs: | |
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.0.0 | ||
uses: helm/chart-releaser-action@v1.1.1 | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
``` | ||
|
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