Skip to content

Commit 112e2e4

Browse files
committed
update reusable workflows & fix offset (again)
1 parent 0617c24 commit 112e2e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
build:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828
name: "Checkout code"
2929

3030
- name: Get version info
3131
id: version_info
3232
run: |
33-
echo "build_version=${{ env.BASE_VERSION }}.$((${{ github.run_number }} - 77))" >> $GITHUB_OUTPUT
34-
echo "prev_build_version=${{ env.BASE_VERSION }}.$(($((${{ github.run_number }} - 77)) - 1))" >> $GITHUB_OUTPUT
33+
echo "build_version=${{ env.BASE_VERSION }}.$((${{ github.run_number }} - 79))" >> $GITHUB_OUTPUT
34+
echo "prev_build_version=${{ env.BASE_VERSION }}.$(($((${{ github.run_number }} - 79)) - 1))" >> $GITHUB_OUTPUT
3535
echo "git_short_hash=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT
3636
echo "commit_message=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
3737
shell: bash
@@ -45,7 +45,7 @@ jobs:
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747

48-
- uses: actions/setup-dotnet@v4
48+
- uses: actions/setup-dotnet@v5
4949
name: "Install .NET SDK"
5050
with:
5151
global-json-file: global.json

0 commit comments

Comments
 (0)