aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMary Guillemard <mary@mary.zone>2023-11-15 18:12:19 +0100
committerMary Guillemard <mary@mary.zone>2023-11-15 18:12:19 +0100
commit388446c255566d67240905bc6efa7af5a71c34b5 (patch)
treebf6cd965538a03d638affed9a6b7d86755f5f5c5 /.github
parent29e192f241136ce910071ff4fdedda5bd1d9b838 (diff)
infra: Workaround Microsoft.NET.ILLink.Tasks restore failure on Flathub
This package seems to be required for triming now but isn't restored by default. This changes the flatpak pusher to publish so we are sure that the package is in the cache. Signed-off-by: Mary Guillemard <mary@mary.zone>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/flatpak.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml
index 4c8ba3e1..c1ae9fe8 100644
--- a/.github/workflows/flatpak.yml
+++ b/.github/workflows/flatpak.yml
@@ -49,7 +49,9 @@ jobs:
run: python -m pip install PyYAML lxml
- name: Restore Nuget packages
- run: dotnet restore Ryujinx/${{ env.RYUJINX_PROJECT_FILE }}
+ # With .NET 8.0.100, Microsoft.NET.ILLink.Tasks isn't restored by default and only seems to appears when publishing.
+ # So we just publish to grab the dependencies
+ run: dotnet publish -c Release -r linux-x64 Ryujinx/${{ env.RYUJINX_PROJECT_FILE }} --self-contained
- name: Generate nuget_sources.json
shell: python