diff --git a/.github/workflows/charts-release-steps.yaml b/.github/workflows/charts-release-steps.yaml index d6e6c2d6..3b93a200 100644 --- a/.github/workflows/charts-release-steps.yaml +++ b/.github/workflows/charts-release-steps.yaml @@ -49,6 +49,14 @@ on: type: string jobs: + report-changes: + name: Report changes + runs-on: ubuntu-22.04 + steps: + - name: Report changes + run: | + echo "Charts to package: ${{ inputs.charts }}" + package-charts: name: Package charts runs-on: ubuntu-22.04 diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 1be7bf88..5e00880e 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -18,7 +18,7 @@ jobs: outputs: repoConfiguration: ${{ steps.repo-config.outputs.config }} libraryChartsToRelease: ${{ steps.changed-library-charts.outputs.all_changed_files }} - applicationChartsToRelease: ${{ steps.changed-charts.outputs.all_changed_files }} + otherChartsToRelease: ${{ steps.changed-charts.outputs.all_changed_files }} steps: - name: Checkout uses: actions/checkout@v4 @@ -75,13 +75,11 @@ jobs: needs: - prepare - release-library-charts - if: >- + if: | ${{ always() && - needs.prepare.outputs.applicationChartsToRelease != '[]' && - ( - contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') - ) + !failure() && !cancelled() && + needs.prepare.outputs.otherChartsToRelease != '[]' }} uses: ./.github/workflows/charts-release-steps.yaml permissions: @@ -90,6 +88,6 @@ jobs: contents: write packages: write with: - charts: ${{ needs.prepare.outputs.applicationChartsToRelease }} + charts: ${{ needs.prepare.outputs.otherChartsToRelease }} excludedChartsRelease: ${{ toJSON(fromJSON(needs.prepare.outputs.repoConfiguration).excluded-charts-release) }} ghPagesBranch: gh-pages diff --git a/charts/other/app-template/dummy b/charts/other/app-template/dummy new file mode 100644 index 00000000..e69de29b