mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-12-04 16:51:48 +01:00
only upload necessary files in windows github workflow
This commit is contained in:
parent
d67070aa33
commit
616ef9d555
1 changed files with 5 additions and 2 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
|
@ -14,12 +14,15 @@ jobs:
|
|||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build ragephoto-cli
|
||||
run: dotnet publish -c Release -f net8.0 -p:PublishAot=true -r win-x64
|
||||
run: dotnet publish ragephoto-cli.csproj -c Release -p:PublishAot=true -r win-x64 -o ${{github.workspace}}\.build
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: Windows Build
|
||||
path: ${{github.workspace}}/bin/Release/net8.0/win-x64/publish/
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
${{github.workspace}}\.build\libragephoto.dll
|
||||
${{github.workspace}}\.build\ragephoto-cli.exe
|
||||
Installer:
|
||||
needs: [Build]
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue