mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-23 18:34:02 +02:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Build-Windows
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
|
|
windows:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Replace token 1
|
|
uses: jacobtomlinson/gha-find-replace@master
|
|
with:
|
|
find: "placeholder_rudder_dataplane_url"
|
|
replace: "${{ secrets.RUDDER_DATAPLANE_URL }}"
|
|
include: server/services/telemetry/telemetry.go
|
|
|
|
- name: Replace token 2
|
|
uses: jacobtomlinson/gha-find-replace@master
|
|
with:
|
|
find: "placeholder_rudder_key"
|
|
replace: "${{ secrets.RUDDER_DEV_KEY }}"
|
|
include: 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
|
|
|
|
- name: Upload app package
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: tasks-win.zip
|
|
path: ${{ github.workspace }}/win/dist/tasks-win.zip
|