Skip to content

Build aks-desktop (Windows) #284

Build aks-desktop (Windows)

Build aks-desktop (Windows) #284

Workflow file for this run

name: Build aks-desktop (Windows)
on:
schedule:
# Runs every day at 1:00 AM UTC
- cron: '0 1 * * *'
workflow_dispatch:
inputs:
aks_plugin_branch:
description: 'Branch to build aks-plugin'
required: true
default: 'main'
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- name: Install golang
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.26.*'
- name: Setup nodejs
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20.x
- name: Checkout this repository with submodules
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: ${{ github.event.inputs.aks_plugin_branch }}
submodules: recursive
- name: Setup AKS desktop and Build Headlamp (Windows)
run: npm run build:win-ci
shell: bash
- name: Upload Windows build artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: aks-desktop-win
path: headlamp/app/dist/aks-desktop*.*