Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Combine helm dep and helm package
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Rigby <[email protected]>
  • Loading branch information
scottrigby committed Oct 19, 2020
1 parent 5afe9a9 commit 1600ee0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sync-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
echo "dirs: ${{ needs.changes.outputs.stable_dirs }}"
mkdir -p ${{ runner.temp }}/stable/packages
for dir in ${{ needs.changes.outputs.stable_dirs }}; do
if helm dependency build "$dir"; then
helm package --destination ${{ runner.temp }}/stable/packages "$dir"
if helm package --dependency-update --destination ${{ runner.temp }}/stable/packages "$dir"; then
echo "✅ built dependencies and packaged $dir"
else
echo "❌ unable to build dependencies for $dir"
Expand All @@ -71,8 +70,7 @@ jobs:
run: |
mkdir -p ${{ runner.temp }}/incubator/packages
for dir in ${{ needs.changes.outputs.incubator_dirs }}; do
if helm dependency build "$dir"; then
helm package --destination ${{ runner.temp }}/incubator/packages "$dir"
if helm package --dependency-update --destination ${{ runner.temp }}/incubator/packages "$dir"; then
echo "✅ built dependencies and packaged $dir"
else
echo "❌ unable to build dependencies for $dir"
Expand Down

0 comments on commit 1600ee0

Please sign in to comment.