Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keirokeer committed Sep 24, 2024
1 parent cee1b31 commit b4ad98c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,19 @@ jobs:
shell: pwsh
run: copy OpenUtau.Plugin.Builtin\bin\Release\netstandard2.1\OpenUtau.Plugin.Builtin.dll -Destination bin\${{ matrix.os.arch }}

- name: DirectML
- name: download directml dll from nuget
if: ${{ matrix.os.runs-on == 'windows-latest' }}
uses: carlosperate/download-file-action@v1.0.3
with:
file-url: https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.12.0
file-name: Microsoft.AI.DirectML.nupkg
location: .

- name: extract directml
if: ${{ matrix.os.runs-on == 'windows-latest' }}
run: |
curl -L https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.12.0 -o Microsoft.AI.DirectML.nupkg
mkdir Microsoft.AI.DirectML
tar -xf Microsoft.AI.DirectML.nupkg -C Microsoft.AI.DirectML
copy /y Microsoft.AI.DirectML\bin\${{ matrix.arch.arch }}-${{ matrix.arch.os }}\DirectML.dll bin\${{ matrix.arch.name }}\
- name: compress
run: 7z a ou-lunai-${{ matrix.os.arch }}.zip ./bin/${{ matrix.os.arch }}/*
Expand Down

0 comments on commit b4ad98c

Please sign in to comment.