File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ name : Helm Chart Releaser
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ paths :
9+ - ' helm-chart/**'
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+
18+ - name : Turnstyle
19+ uses : softprops/turnstyle@v1
20+ with :
21+ continue-after-seconds : 180
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+
25+ - name : Fetch history
26+ run : git fetch --prune --unshallow
27+
28+ - name : Configure Git
29+ run : |
30+ git config user.name "$GITHUB_ACTOR"
31+ git config user.email "[email protected] " 32+
33+ # See https://github.com/helm/chart-releaser-action/issues/6
34+ - name : Set up Helm
35+ 36+ with :
37+ version : v3.6.3
38+
39+ - name : Run chart-releaser
40+ # TODO: switch back @main to a specific version like @v1.5.1 or higher
41+ uses : helm/chart-releaser-action@main
42+ with :
43+ charts_repo_url : https://nextcloud.github.io/all-in-one
44+ charts_dir : helm-chart
45+ mark_as_latest : false
46+ env :
47+ CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
48+ CR_RELEASE_NAME_TEMPLATE : " helm-chart-{{ .Version }}"
49+ CR_SKIP_EXISTING : true
You can’t perform that action at this time.
0 commit comments