From 6fd71c09cede3cc6c5879e6d075a4aeac77ce8f4 Mon Sep 17 00:00:00 2001 From: Christian Harke Date: Thu, 1 Dec 2022 08:33:24 +0100 Subject: [PATCH] Fix `set-output` deprecation warning --- .github/workflows/update.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index f67915e4..d4847655 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest outputs: - branch: ${{ steps.branch.outputs.branch }} + branch: ${{ steps.branch.outputs.name }} update_available: ${{ steps.commit.outputs.changes_detected }} steps: @@ -30,10 +30,10 @@ jobs: - name: Set branch name output id: branch - run: echo "::set-output name=branch::ci/automatic-update-$(date +%Y-%m-%d)" + run: echo "name=ci/automatic-update-$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT - name: Create branch locally - run: git switch -c ${{ steps.branch.outputs.branch }} + run: git switch -c ${{ steps.branch.outputs.name }} - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 @@ -41,7 +41,7 @@ jobs: with: commit_author: Christian Harke commit_message: "flake.inputs: automatic update" - branch: ${{ steps.branch.outputs.branch }} + branch: ${{ steps.branch.outputs.name }} push_options: --force build: