Skip to content

Commit a620739

Browse files
committed
fix linux snap release publish
1 parent d8d7025 commit a620739

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ jobs:
243243
shell: bash
244244
working-directory: ./DotPilot
245245
run: |
246-
dotnet publish DotPilot.csproj \
246+
sudo dotnet publish DotPilot.csproj \
247247
-c Release \
248248
-f net10.0-desktop \
249249
-r linux-x64 \
@@ -257,6 +257,8 @@ jobs:
257257
-p:ApplicationDisplayVersion=${{ needs.prepare_release.outputs.release_version }} \
258258
-p:ApplicationVersion=${{ needs.prepare_release.outputs.application_version }}
259259
260+
sudo chown -R "$USER:$USER" ./bin/Release/net10.0-desktop/linux-x64
261+
260262
- name: Stage Linux Release Asset
261263
shell: bash
262264
run: |

0 commit comments

Comments
 (0)