8
8
pull_request :
9
9
types : [closed]
10
10
11
- permissions :
11
+ permissions :
12
12
contents : write
13
13
id-token : write
14
14
15
15
jobs :
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`.
18
18
# This job will synchronize `dev` and `master`, create a GitHub Release and delete the `releases/next-release` branch.
19
19
sync-dev-and-master :
20
20
name : Sync dev and master
49
49
uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
50
50
with :
51
51
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
52
57
# Install AutoVer which is needed to retrieve information about the current release.
53
58
- name : Install AutoVer
54
59
run : dotnet tool install --global AutoVer --version 0.0.25
98
103
else
99
104
echo "Branch 'releases/next-release' does not exist on origin, skipping deletion."
100
105
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`.
102
107
# This indicates that the closed PR was the `Release PR`.
103
108
# This job will delete the tag created by AutoVer and the release branch.
104
109
clean-up-closed-release :
@@ -120,6 +125,11 @@ jobs:
120
125
uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
121
126
with :
122
127
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
123
133
# Install AutoVer which is needed to retrieve information about the current release.
124
134
- name : Install AutoVer
125
135
run : dotnet tool install --global AutoVer --version 0.0.25
@@ -144,4 +154,5 @@ jobs:
144
154
git push origin --delete releases/next-release
145
155
else
146
156
echo "Branch 'releases/next-release' does not exist on origin, skipping deletion."
147
- fi
157
+ fi
158
+
0 commit comments