Skip to content

Multiplatform runners for workflow pipeline. #4

Multiplatform runners for workflow pipeline.

Multiplatform runners for workflow pipeline. #4

Workflow file for this run

name: QLBase Build
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
version: [linux, windows]
go-version: ['1.20.5']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Go version
run: go version
- name: Install Qrepo
run: sh -c "$(curl -fsSL https://raw.githubusercontent.com/nthnn/Qrepo/master/support/install.sh)"
- name: Build QLBase
run: |
qrepo run deploy
- name: Upload QLBase build
uses: actions/upload-artifact@v4
with:
name: qlbase-${{ matrix.version }}
path: qlbase.zip