Skip to content

Commit 08f314f

Browse files
SyncFileContentsSyncFileContents
authored andcommitted
Sync .github\workflows\dotnet.yml
1 parent 389eb37 commit 08f314f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
release_hash: ${{ steps.pipeline.outputs.release_hash }}
4949
should_release: ${{ steps.pipeline.outputs.should_release }}
5050

51+
env:
52+
# SixLabors.ImageSharp 4.0 requires a build-time license key (ImGui.App is a
53+
# direct dependency). Directory.Build.props maps this into the
54+
# SixLaborsLicenseKey MSBuild property. Set the SIXLABORS_LICENSE_KEY repo secret.
55+
SIXLABORS_LICENSE_KEY: ${{ secrets.SIXLABORS_LICENSE_KEY }}
56+
5157
steps:
5258
- name: Set up JDK 17
5359
uses: actions/setup-java@v4
@@ -201,6 +207,11 @@ jobs:
201207
permissions:
202208
contents: read
203209

210+
env:
211+
# ImGui.App directly references SixLabors.ImageSharp 4.0 on net10.0-ios too,
212+
# so this compile-only job needs the license key as well.
213+
SIXLABORS_LICENSE_KEY: ${{ secrets.SIXLABORS_LICENSE_KEY }}
214+
204215
steps:
205216
- name: Checkout Repository
206217
uses: actions/checkout@v4
@@ -260,6 +271,11 @@ jobs:
260271
permissions:
261272
contents: read
262273

274+
env:
275+
# The smoke app and ImGuiAppDemo.iOS build ImGui.App (a direct SixLabors.ImageSharp
276+
# 4.0 dependency) and decode an image via ImageSharp, so this job needs the key too.
277+
SIXLABORS_LICENSE_KEY: ${{ secrets.SIXLABORS_LICENSE_KEY }}
278+
263279
steps:
264280
- name: Checkout Repository
265281
uses: actions/checkout@v4

0 commit comments

Comments
 (0)