1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-11-06 09:19:31 +02:00

Remove old windows app

This commit is contained in:
Chen-I Lim
2021-03-04 17:08:05 -08:00
parent d302e55fe9
commit 910ac3353e
8 changed files with 20 additions and 245 deletions

View File

@@ -1,40 +0,0 @@
name: Build-Windows
on: workflow_dispatch
jobs:
windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Replace token 1
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/server/services/telemetry/telemetry.go
- name: Replace token 2
run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_DEV_KEY }},g" ${{ github.workspace }}/server/services/telemetry/telemetry.go
- name: win-node-env
run: npm install -g win-node-env
- name: npm install
run: cd webapp; npm install --no-optional
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build Windows app
run: make win-app
env:
BUILD_NUMBER: ${{ github.run_id }}
- name: Upload app package
uses: actions/upload-artifact@v1
with:
name: focalboard-win.zip
path: ${{ github.workspace }}/win/dist/focalboard-win.zip

View File

@@ -101,6 +101,9 @@ jobs:
- name: Replace token 2
run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_PROD_KEY }},g" ${{ github.workspace }}/server/services/telemetry/telemetry.go
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: win-node-env
run: npm install -g win-node-env
@@ -112,13 +115,21 @@ jobs:
with:
go-version: 1.15
- name: Build Windows app
run: make win-app
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- name: NuGet Restore
run: nuget restore win-wpf\Focalboard.sln
- name: Build Windows WPF app
run: make win-wpf-app
env:
BUILD_NUMBER: ${{ github.run_id }}
- name: Upload app package
uses: actions/upload-artifact@v1
with:
name: focalboard-win.zip
path: ${{ github.workspace }}/win/dist/focalboard-win.zip
name: focalboard.msix
path: ${{ github.workspace }}/win-wpf/focalboard.msix