Skip to content

Commit

Permalink
pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Mar 19, 2024
1 parent efed50e commit bdaa48a
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/dotnet-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,20 @@ jobs:
env:
NEW_DOTNET_VERSION: ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}

- name: "Commit changes to new branch"
- name: "Push"
if: ${{env.DOTNET_VERSION}} < ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}
uses: stefanzweifel/[email protected]
with:
commit_message: "SDK - Update DotNet SDK to ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}"
branch: "depends/dotnet/${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}"
file_pattern: src/global.json
commit_user_name: "fun-version[bot]"
commit_user_email: "[email protected]"
commit_author: "fun-version[bot] <[email protected]>"
skip_dirty_check: false
shell: bash
run: |
git add "src/global.json" && git commit -m "SDK - Update DotNet SDK to $NEW_DOTNET_VERSION" && git push --set-upstream origin "depends/dotnet/$NEW_DOTNET_VERSION"
# - name: "Commit changes to new branch"
# if: ${{env.DOTNET_VERSION}} < ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}
# uses: stefanzweifel/[email protected]
# with:
# commit_message: "SDK - Update DotNet SDK to ${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}"
# branch: "depends/dotnet/${{steps.latest-dotnet-version.outputs.LATEST_RELEASE_VERSION}}"
# file_pattern: src/global.json
# commit_user_name: "fun-version[bot]"
# commit_user_email: "[email protected]"
# commit_author: "fun-version[bot] <[email protected]>"
# skip_dirty_check: false

0 comments on commit bdaa48a

Please sign in to comment.