mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 07:24:52 +01:00
9
.github/workflows/dotnet-desktop.yml
vendored
9
.github/workflows/dotnet-desktop.yml
vendored
@@ -1,10 +1,9 @@
|
||||
name: Build and publish server
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -43,10 +42,10 @@ jobs:
|
||||
run: dotnet publish nksrv
|
||||
|
||||
- name: Copy to output
|
||||
run: md ${GITHUB_WORKSPACE}/out/ && xcopy "${GITHUB_WORKSPACE}\ServerSelector.Desktop\bin\Release\net8.0\win-x64\publish\" "${GITHUB_WORKSPACE}\out\" && xcopy "${GITHUB_WORKSPACE}\nksrv\bin\Release\net8.0\win-x64\publish\" "${GITHUB_WORKSPACE}\out\"
|
||||
run: echo ${{ github.workspace }} && md ${{ github.workspace }}/out/ && xcopy "${{ github.workspace }}\ServerSelector.Desktop\bin\Release\net8.0\win-x64\publish\" "${{ github.workspace }}\out\" && xcopy "${{ github.workspace }}\nksrv\bin\Release\net8.0\win-x64\publish\" "${{ github.workspace }}\out\"
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MSIX Package
|
||||
path: ${GITHUB_WORKSPACE}/out/
|
||||
name: Server and Server selector
|
||||
path: ${{ github.workspace }}/out/
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -452,3 +452,7 @@ $RECYCLE.BIN/
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
|
||||
# Allow pregenerated ssl cert
|
||||
!nksrv/site.pfx
|
||||
!ServerSelector/myCA.pfx
|
||||
BIN
ServerSelector/myCA.pfx
Normal file
BIN
ServerSelector/myCA.pfx
Normal file
Binary file not shown.
BIN
nksrv/site.pfx
Normal file
BIN
nksrv/site.pfx
Normal file
Binary file not shown.
Reference in New Issue
Block a user