Fix Loreline download in CI: extract zip directly to lib/
This commit is contained in:
parent
16b3fd0950
commit
af928f3392
1 changed files with 3 additions and 7 deletions
10
.github/workflows/deploy-itch.yml
vendored
10
.github/workflows/deploy-itch.yml
vendored
|
|
@ -18,13 +18,9 @@ jobs:
|
|||
- name: Download Loreline dependency
|
||||
run: |
|
||||
mkdir -p lib
|
||||
curl -sL https://github.com/Loreline/loreline/releases/download/v0.7.1/loreline-csharp.zip -o lib/loreline-csharp.zip
|
||||
unzip -o lib/loreline-csharp.zip -d lib/_extract
|
||||
cp lib/_extract/*/Loreline.dll lib/ || cp lib/_extract/Loreline.dll lib/
|
||||
cp lib/_extract/*/Loreline.xml lib/ 2>/dev/null || cp lib/_extract/Loreline.xml lib/ 2>/dev/null || true
|
||||
cp lib/_extract/*/Loreline.deps.json lib/ 2>/dev/null || cp lib/_extract/Loreline.deps.json lib/ 2>/dev/null || true
|
||||
rm -rf lib/_extract lib/loreline-csharp.zip
|
||||
ls -la lib/
|
||||
curl -sL https://github.com/Loreline/loreline/releases/download/v0.7.1/loreline-csharp.zip -o /tmp/loreline.zip
|
||||
unzip -o /tmp/loreline.zip -d lib/
|
||||
ls -la lib/Loreline.dll
|
||||
|
||||
- name: Publish Blazor WASM
|
||||
run: dotnet publish src/OpenTheBox.Web -c Release -o publish
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue