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:40:19 UTC

[camel-k] 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 automatic-changelog-gh-action-depr-commands
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 4e328d30cb325de06ff4f006d66b580999c4280d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 22 08:40:10 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 b4de95f..d4cfa71 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