From 99076b677d8a558e878634e6aab80fcac6ac744e Mon Sep 17 00:00:00 2001 From: Paolo Priotto Date: Wed, 9 Nov 2022 17:37:31 +0100 Subject: [PATCH] Fix deprecation warnings (#7) - update dependencies - replace usage of ::set-output https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/package-docker-image.yaml | 4 ++-- README.md | 2 +- action.yml | 4 ++-- package-action/entrypoint.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/package-docker-image.yaml b/.github/workflows/package-docker-image.yaml index bbe7507..1a24e42 100644 --- a/.github/workflows/package-docker-image.yaml +++ b/.github/workflows/package-docker-image.yaml @@ -12,8 +12,8 @@ jobs: name: Build and push docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: docker/login-action@v1 + - uses: actions/checkout@v3 + - uses: docker/login-action@v2 with: username: ${{ secrets.BYD_DOCKERHUB_USER }} password: ${{ secrets.BYD_DOCKERHUB_PASSWORD }} diff --git a/README.md b/README.md index ac4be10..9256eba 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The version of the chart that was published. Ex: 0.1.1641463259 ## Example usage ```yaml -uses: ePages-de/action-package-helm-chart@v1 +uses: ePages-de/action-package-helm-chart@v4 with: build-timestamp: ${{ needs.build.outputs.build-timestamp }} # generated during build project-chart-name: "product-finder" diff --git a/action.yml b/action.yml index 3f979d9..7d16856 100644 --- a/action.yml +++ b/action.yml @@ -31,10 +31,10 @@ outputs: runs: using: 'composite' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download generated messaging helm values ⬇️ if: ${{ inputs.has-messaging == 'true' }} - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: message-artifact-values path: build/message-artifacts-helm diff --git a/package-action/entrypoint.sh b/package-action/entrypoint.sh index 98d144e..ebf61b2 100755 --- a/package-action/entrypoint.sh +++ b/package-action/entrypoint.sh @@ -95,5 +95,5 @@ curl -sS --fail -u "${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD}" \ -T "${helm_package_name}" # Set the output parameters -echo '' # The set-output needs to be in a new line to work -echo "::set-output name=chart-version::${new_chart_version}" +echo '' # This needs to be in a new line to work +echo "chart-version=${new_chart_version}" >> $GITHUB_OUTPUT