|
1 | | -name: CI |
| 1 | +name: Build and Release |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | workflow_dispatch: |
|
58 | 58 | run: | |
59 | 59 | cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio |
60 | 60 | 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 |
62 | 62 | Move-Item -Path ".\bin\Release\net10.0-windows10.0.26100\win-x64\publish\*.exe" -Destination "$env:GITHUB_WORKSPACE\win-x64\" -Force |
63 | 63 | - name: Create Package |
64 | 64 | shell: pwsh |
|
89 | 89 | run: | |
90 | 90 | cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio |
91 | 91 | 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 |
93 | 93 | Move-Item -Path ".\bin\Release\net10.0-windows10.0.26100\win-arm64\publish\*.exe" -Destination "$env:GITHUB_WORKSPACE\win-arm64\" -Force |
94 | 94 | - name: Create Package |
95 | 95 | shell: pwsh |
@@ -121,8 +121,8 @@ jobs: |
121 | 121 | dotnet workload restore |
122 | 122 | cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio |
123 | 123 | 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 |
126 | 126 | - name: Create Package |
127 | 127 | shell: pwsh |
128 | 128 | run: tar -cvf azurekeyvaultstudio.macos-x64.tar osx-x64 |
@@ -153,8 +153,8 @@ jobs: |
153 | 153 | cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio |
154 | 154 | dotnet workload restore |
155 | 155 | 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 |
158 | 158 | - name: Create Package |
159 | 159 | shell: pwsh |
160 | 160 | run: tar -cvf azurekeyvaultstudio.macos-arm64.tar osx-arm64 |
@@ -184,7 +184,7 @@ jobs: |
184 | 184 | run: | |
185 | 185 | cd ./src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio |
186 | 186 | 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 |
188 | 188 | Move-Item -Path ".\bin\Release\net10.0-desktop\linux-x64\publish\*" -Destination "$env:GITHUB_WORKSPACE\linux-x64\" -Force |
189 | 189 | - name: Create Package |
190 | 190 | shell: pwsh |
|
0 commit comments