Skip to content

Commit c21c2f5

Browse files
committed
Enable workflow troubleshooting
1 parent f97b046 commit c21c2f5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/Get-BuildInfo.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ if ($configuration -ieq 'release') {
4343
$publish_nuget = 'true'
4444
}
4545

46+
if ($ref -like 'refs/heads/dev/build_workflow_*') {
47+
$sign_binaries = 'true'
48+
$publish_nuget = 'false'
49+
}
50+
4651
# if ($ref -like 'refs/heads/dev/github_actions') {
4752
# $publish_nuget = 'true'
4853
# }

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: release
22

33
on:
44
push:
5+
branches:
6+
- 'dev/build_workflow_**'
57
tags:
68
- 'v*.*.*'
79

@@ -138,7 +140,7 @@ jobs:
138140
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
139141

140142
- name: Archive NetOffice packages
141-
if: success()
143+
if: success() && matrix.configuration == 'Release'
142144
uses: actions/upload-artifact@v5
143145
with:
144146
name: NetOffice_packages_v${{ steps.build.outputs.app_version_full }}

0 commit comments

Comments
 (0)