Skip to content

Commit aa3ebd7

Browse files
committed
added dotnet setup and checkout
1 parent 03ef757 commit aa3ebd7

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/actions/push-changes/action.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,21 @@ inputs:
1212
commit-message:
1313
description: 'The commit message to use when pushing changes.'
1414
required: true
15+
# Optional
16+
dotnet_sdk_version:
17+
description: '.NET SDK version. Default: 9.x'
18+
required: false
19+
default: '9.x'
1520

1621
runs:
1722
using: "composite"
18-
steps:
23+
steps:
24+
- name: 'Checkout ${{ github.head_ref || github.ref }}'
25+
uses: actions/checkout@v4
26+
- name: Dotnet Setup
27+
uses: actions/setup-dotnet@v4
28+
with:
29+
dotnet-version: ${{ env.dotnet-sdk-version }}
1930
- name: Add changes from ${{ inputs.working-directory }}
2031
shell: bash
2132
run: |

0 commit comments

Comments
 (0)