You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/22 06:38:28 UTC

[camel-k-runtime] 01/01: Automatic changelog: Remove deprecated github action commands

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch deprecated-gh-action-commands
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 1d8020a70edf72ed352a32d1c18ab8866a5e1100
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 22 08:38:19 2020 +0200

    Automatic changelog: Remove deprecated github action commands
    
    Thanks @jamesnetherton for noticing this
---
 .github/workflows/automatic-changelog-update.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/automatic-changelog-update.yml b/.github/workflows/automatic-changelog-update.yml
index 290470f..00a3b59 100644
--- a/.github/workflows/automatic-changelog-update.yml
+++ b/.github/workflows/automatic-changelog-update.yml
@@ -43,7 +43,7 @@ jobs:
         run: |
           git config --local user.email "$CI_EMAIL"
           git config --local user.name "$CI_USER"
-          git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo ::set-env name=push::1 || echo "No changes to CHANGELOG.md"
+          git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=1" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
 
       - name: Push changes
         if: env.push == 1