Skip to content

Commit 62c8bed

Browse files
committed
Enable workflow troubleshooting
1 parent a658bef commit 62c8bed

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

@@ -135,7 +137,7 @@ jobs:
135137
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
136138

137139
- name: Archive NetOffice packages
138-
if: success()
140+
if: success() && matrix.configuration == 'Release'
139141
uses: actions/upload-artifact@v5
140142
with:
141143
name: NetOffice_packages_v${{ steps.build.outputs.app_version_full }}

0 commit comments

Comments
 (0)