Skip to content

Build snap

Build snap #46

Workflow file for this run

name: build
run-name: Build snap
on:
push:
paths:
- 'snap/**'
- 'src/**'
- '!**.md'
pull_request:
paths:
- 'snap/**'
- 'src/**'
- '!**.md'
workflow_dispatch:
inputs:
logLevel:
description: Log level
required: true
default: warning
type: choice
options:
- info
- warning
- debug
jobs:
build:
if: ${{ !startsWith(github.ref, 'refs/tags') }}
runs-on: ${{ matrix.builder }}
strategy:
matrix:
include:
- builder: ubuntu-latest
platform: linux/amd64
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
id: build
- uses: ./.github/actions/test
with:
snap: ${{ steps.build.outputs.snap }}