Skip to content

Commit

Permalink
Fix set-output deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Dec 3, 2022
1 parent 4ae9cb2 commit 6fd71c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -30,18 +30,18 @@ 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
id: commit
with:
commit_author: Christian Harke <[email protected]>
commit_message: "flake.inputs: automatic update"
branch: ${{ steps.branch.outputs.branch }}
branch: ${{ steps.branch.outputs.name }}
push_options: --force

build:
Expand Down

0 comments on commit 6fd71c0

Please sign in to comment.