88 pull_request :
99 types : [closed]
1010
11- permissions :
11+ permissions :
1212 contents : write
1313 id-token : write
1414
1515jobs :
16- # This job will check if the PR was successfully merged, it's source branch is `releases/next-release` and target branch is `dev`.
17- # This indicates that the merged PR was the `Release PR`.
16+ # This job will check if the PR was successfully merged, it's source branch is `releases/next-release` and target branch is `dev`.
17+ # This indicates that the merged PR was the `Release PR`.
1818 # This job will synchronize `dev` and `master`, create a GitHub Release and delete the `releases/next-release` branch.
1919 sync-dev-and-master :
2020 name : Sync dev and master
4949 uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
5050 with :
5151 dotnet-version : 9.0.x
52+ # Install .NET10 which is needed for building the solution
53+ - name : Setup .NET 10.0
54+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
55+ with :
56+ dotnet-version : 10.0.x
5257 # Install AutoVer which is needed to retrieve information about the current release.
5358 - name : Install AutoVer
5459 run : dotnet tool install --global AutoVer --version 0.0.25
98103 else
99104 echo "Branch 'releases/next-release' does not exist on origin, skipping deletion."
100105 fi
101- # This job will check if the PR was closed, it's source branch is `releases/next-release` and target branch is `dev`.
106+ # This job will check if the PR was closed, it's source branch is `releases/next-release` and target branch is `dev`.
102107 # This indicates that the closed PR was the `Release PR`.
103108 # This job will delete the tag created by AutoVer and the release branch.
104109 clean-up-closed-release :
@@ -120,6 +125,11 @@ jobs:
120125 uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
121126 with :
122127 dotnet-version : 9.0.x
128+ # Install .NET10 which is needed for building the solution
129+ - name : Setup .NET 10.0
130+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
131+ with :
132+ dotnet-version : 10.0.x
123133 # Install AutoVer which is needed to retrieve information about the current release.
124134 - name : Install AutoVer
125135 run : dotnet tool install --global AutoVer --version 0.0.25
@@ -144,4 +154,5 @@ jobs:
144154 git push origin --delete releases/next-release
145155 else
146156 echo "Branch 'releases/next-release' does not exist on origin, skipping deletion."
147- fi
157+ fi
158+
0 commit comments