Skip to content

Commit e9dca3f

Browse files
committed
Publish CI assets using absolute paths.
1 parent 24e1435 commit e9dca3f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,31 +172,31 @@ jobs:
172172
uses: actions/upload-artifact@v4
173173
with:
174174
name: 'logs-${{ matrix.os }}'
175-
path: 'artifacts/logs/'
175+
path: '${{ github.workspace }}/artifacts/logs/'
176176
- name: 🏺 Publish test data (${{ matrix.os }})
177177
if: always()
178178
uses: actions/upload-artifact@v4
179179
with:
180180
name: 'test data-${{ matrix.os }}'
181-
path: 'artifacts/test/'
181+
path: '${{ github.workspace }}/artifacts/test/'
182182
- name: 🚀 Publish Test Results
183183
if: always() && matrix.os == 'macos-latest'
184184
uses: EnricoMi/publish-unit-test-result-action/macos@v2
185185
with:
186-
files: 'artifacts/test/**/*.trx'
186+
files: '${{ github.workspace }}/artifacts/test/**/*.trx'
187187
- name: 🏺 Publish coverage data (${{ matrix.os }})
188188
if: always()
189189
uses: actions/upload-artifact@v4
190190
with:
191191
name: 'coverage-${{ matrix.os }}'
192-
path: 'coverage/'
192+
path: '${{ github.workspace }}/coverage/'
193193
- name: 🚀 Publish Coverage Comment
194194
if: always() && github.event_name == 'pull_request'
195195
continue-on-error: true
196196
uses: marocchino/sticky-pull-request-comment@v2
197197
with:
198198
header: 'Coverage'
199-
path: 'coverage/summary/SummaryGithub.md'
199+
path: '${{ github.workspace }}/coverage/summary/SummaryGithub.md'
200200
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
201201
- name: 🚀 Publish Codecov Coverage
202202
if: always() && (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') || ((github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]')
@@ -209,7 +209,7 @@ jobs:
209209
uses: actions/upload-artifact@v4
210210
with:
211211
name: 'nuget-${{ matrix.os }}'
212-
path: 'artifacts/nuget/'
212+
path: '${{ github.workspace }}/artifacts/nuget/'
213213
Merge:
214214
runs-on: ubuntu-latest
215215
needs: build

Directory.Build.props

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
<NukeTelemetryVersion>1</NukeTelemetryVersion>
2222
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
2323
<ImplicitUsings>enable</ImplicitUsings>
24+
<!-- Remove once we drop the net6.0 tfm -->
25+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
2426
</PropertyGroup>
2527
<PropertyGroup>
2628
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2729
<IncludeSymbols>true</IncludeSymbols>
2830
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2931
<PublishRepositoryUrl>true</PublishRepositoryUrl>
30-
<AllowedOutputExtensionsInPackageBuildOutputFolder
31-
>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
32+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
3233
<AllowedReferenceRelatedFileExtensions>$(AllowedReferenceRelatedFileExtensions);.pdb</AllowedReferenceRelatedFileExtensions>
3334
</PropertyGroup>
3435
<PropertyGroup>

0 commit comments

Comments
 (0)