1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-02-10 19:41:29 +02:00
focalboard/.github/workflows/build-win.yml

39 lines
972 B
YAML
Raw Normal View History

2021-01-06 14:50:37 -08:00
name: Build-Windows
on: workflow_dispatch
jobs:
2021-01-06 15:20:21 -08:00
windows:
2021-01-06 14:50:37 -08:00
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
2021-01-18 13:57:27 -08:00
- name: Replace token 1
2021-01-18 14:11:02 -08:00
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/server/services/telemetry/telemetry.go
2021-01-18 13:57:27 -08:00
- name: Replace token 2
2021-01-18 14:11:02 -08:00
run: sed -i -e "s,placeholder_rudder_key,${{ secrets.RUDDER_DEV_KEY }},g" ${{ github.workspace }}/server/services/telemetry/telemetry.go
2021-01-18 13:04:25 -08:00
2021-01-06 15:20:21 -08:00
- name: win-node-env
run: npm install -g win-node-env
2021-01-06 14:50:37 -08:00
- name: npm install
2021-01-06 16:09:36 -08:00
run: cd webapp; npm install --no-optional
2021-01-06 14:50:37 -08:00
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Build Windows app
run: make win-app
- name: Upload app package
uses: actions/upload-artifact@v1
with:
name: tasks-win.zip
path: ${{ github.workspace }}/win/dist/tasks-win.zip