File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4
4
workflow_call :
5
5
6
6
env :
7
- GH_PR_NUMBER : ${{ github.event_name == 'pull_request' && github.event.number || '' }}
7
+ VERSION_SUFFIX_OVERRIDE : ${{ github.event_name == 'pull_request' && format('/p:VersionSuffix=pr.{0}', github.event.number) || '' }}
8
8
9
9
jobs :
10
10
39
39
/p:ContinuousIntegrationBuild=true
40
40
/p:SkipManagedBuild=true
41
41
/p:TargetRids=${{ matrix.targets.rids }}
42
+ ${{ env.VERSION_SUFFIX_OVERRIDE }}
42
43
43
44
- name : Build CLI packages (Unix)
44
45
env :
54
55
/p:ContinuousIntegrationBuild=true
55
56
/p:SkipManagedBuild=true
56
57
/p:TargetRids=${{ matrix.targets.rids }}
58
+ ${{ env.VERSION_SUFFIX_OVERRIDE }}
57
59
58
60
- name : Upload logs
59
61
if : always()
Original file line number Diff line number Diff line change 5
5
workflow_call
6
6
7
7
env :
8
- GH_PR_NUMBER : ${{ github.event_name == 'pull_request' && github.event.number || '' }}
8
+ VERSION_SUFFIX_OVERRIDE : ${{ github.event_name == 'pull_request' && format('/p:VersionSuffix=pr.{0}', github.event.number) || '' }}
9
9
10
10
jobs :
11
11
# Duplicated jobs so their dependencies are not blocked on both the
66
66
- name : Build with packages
67
67
env :
68
68
CI : false
69
- run : ./build.sh -restore -build -ci -pack -bl -p:InstallBrowsersForPlaywright=false -p:SkipTestProjects=true
69
+ run : ./build.sh -restore -build -ci -pack -bl -p:InstallBrowsersForPlaywright=false -p:SkipTestProjects=true ${{ env.VERSION_SUFFIX_OVERRIDE }}
70
70
71
71
- name : Upload built NuGets
72
72
uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
Original file line number Diff line number Diff line change 5
5
<MinorVersion >5</MinorVersion >
6
6
<PatchVersion >0</PatchVersion >
7
7
<VersionPrefix >$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix >
8
- <PreReleaseVersionLabel Condition =" '$(GITHUB_ACTIONS)' == 'true' and '$(GH_PR_NUMBER)' != ''" >pr.$(GH_PR_NUMBER)</PreReleaseVersionLabel >
9
- <PreReleaseVersionLabel Condition =" '$(PreReleaseVersionLabel)' == ''" >preview.1</PreReleaseVersionLabel >
8
+ <PreReleaseVersionLabel >preview.1</PreReleaseVersionLabel >
10
9
<DefaultTargetFramework >net8.0</DefaultTargetFramework >
11
10
<AllTargetFrameworks >$(DefaultTargetFramework);net9.0</AllTargetFrameworks >
12
11
<!-- dotnet versions for running tests -->
You can’t perform that action at this time.
0 commit comments