Skip to content

Commit 093c486

Browse files
committed
fix: uno build
1 parent 00cd960 commit 093c486

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/uno-dotnet.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Build and Release
22

33
on:
44
workflow_dispatch:
@@ -58,7 +58,7 @@ jobs:
5858
run: |
5959
cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio
6060
dotnet publish -f net10.0-windows10.0.26100 -r win-x64 -p:SelfContained=true -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:Version=2.0.${{ github.run_number }} -c Release -p:WindowsPackageType=None ./AzureKeyVaultStudio.csproj
61-
New-Item -ItemType Directory -Path "win-x64" -Force
61+
New-Item -ItemType Directory -Path "$env:GITHUB_WORKSPACE/win-x64" -Force
6262
Move-Item -Path ".\bin\Release\net10.0-windows10.0.26100\win-x64\publish\*.exe" -Destination "$env:GITHUB_WORKSPACE\win-x64\" -Force
6363
- name: Create Package
6464
shell: pwsh
@@ -89,7 +89,7 @@ jobs:
8989
run: |
9090
cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio
9191
dotnet publish -f net10.0-windows10.0.26100 -r win-arm64 -p:Platform=arm64 -p:SelfContained=true -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:PublishTrimmed=false -p:Version=2.0.${{ github.run_number }} -c Release -p:WindowsPackageType=None ./AzureKeyVaultStudio.csproj
92-
New-Item -ItemType Directory -Path "win-arm64" -Force
92+
New-Item -ItemType Directory -Path "$env:GITHUB_WORKSPACE/win-arm64" -Force
9393
Move-Item -Path ".\bin\Release\net10.0-windows10.0.26100\win-arm64\publish\*.exe" -Destination "$env:GITHUB_WORKSPACE\win-arm64\" -Force
9494
- name: Create Package
9595
shell: pwsh
@@ -121,8 +121,8 @@ jobs:
121121
dotnet workload restore
122122
cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio
123123
dotnet publish -f net10.0-desktop -p:UnoMacOSCustomInfoPlist=Info.plist -p:PackageFormat=app -p:SelfContained=true -p:PublishReadyToRun=true -r osx-x64 -p:Version=2.0.${{ github.run_number }} -c Release ./AzureKeyVaultStudio.csproj
124-
New-Item -ItemType Directory -Path "osx-x64" -Force
125-
Move-Item -Path ".\bin\Release\net10.0-desktop\osx-x64\publish\*.app" -Destination "$env:GITHUB_WORKSPACE\osx-x64\" -Force
124+
New-Item -ItemType Directory -Path "$env:GITHUB_WORKSPACE/osx-x64" -Force
125+
Move-Item -Path "./bin/Release/net10.0-desktop/osx-x64/publish/*.app" -Destination "$env:GITHUB_WORKSPACE/osx-x64/" -Force
126126
- name: Create Package
127127
shell: pwsh
128128
run: tar -cvf azurekeyvaultstudio.macos-x64.tar osx-x64
@@ -153,8 +153,8 @@ jobs:
153153
cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio
154154
dotnet workload restore
155155
dotnet publish -f net10.0-desktop -p:UnoMacOSCustomInfoPlist=Info.plist -p:PackageFormat=app -p:PublishReadyToRun=true -r osx-arm64 -p:Version=2.0.${{ github.run_number }} -c Release ./AzureKeyVaultStudio.csproj
156-
New-Item -ItemType Directory -Path "osx-arm64" -Force
157-
Move-Item -Path ".\bin\Release\net10.0-desktop\osx-arm64\publish\*.app" -Destination "$env:GITHUB_WORKSPACE\osx-arm64\" -Force
156+
New-Item -ItemType Directory -Path "$env:GITHUB_WORKSPACE/osx-arm64" -Force
157+
Move-Item -Path "./bin/Release/net10.0-desktop/osx-arm64/publish/*.app" -Destination "$env:GITHUB_WORKSPACE/osx-arm64/" -Force
158158
- name: Create Package
159159
shell: pwsh
160160
run: tar -cvf azurekeyvaultstudio.macos-arm64.tar osx-arm64
@@ -184,7 +184,7 @@ jobs:
184184
run: |
185185
cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio
186186
dotnet publish -f net10.0-desktop -r linux-x64 -p:SelfContained=true -p:PublishReadyToRun=true -p:Version=2.0.${{ github.run_number }} -c Release ./AzureKeyVaultStudio.csproj
187-
New-Item -ItemType Directory -Path "linux-x64" -Force
187+
New-Item -ItemType Directory -Path "$env:GITHUB_WORKSPACE/linux-x64" -Force
188188
Move-Item -Path ".\bin\Release\net10.0-desktop\linux-x64\publish\*" -Destination "$env:GITHUB_WORKSPACE\linux-x64\" -Force
189189
- name: Create Package
190190
shell: pwsh

src/uno/AzureKeyVaultStudio.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<File Path="Directory.Packages.props" />
77
<File Path="global.json" />
88
</Folder>
9-
<Project Path="AzureKeyVaultStudio/AzureKeyVaultStudio.csproj">
9+
<Project Path="../../../AzureKeyVaultStudio/AzureKeyVaultStudio/AzureKeyVaultStudio.csproj">
1010
<Deploy />
1111
</Project>
1212
</Solution>

0 commit comments

Comments
 (0)