slipql 0.1.0

A query language for Slipcase metadata: select, from, where over a directory of containers
Documentation
name: deb

# The .deb packages for a release. What gets built, checked and attached lives
# in excelano/.github, so every Rust repo in the fleet builds them the same way
# and a correction reaches all of them at once. What stays here is when to run
# and what this repo is called.
#
# cargo-dist creates the release with the default GITHUB_TOKEN and GitHub fires
# no `release: published` for a token-created release, so this is dispatched by
# hand after one:
#
#     gh workflow run deb.yml -f tag=v0.1.1

on:
  release:
    types: [published]
  workflow_dispatch:
    inputs:
      dry_run:
        description: 'Build and check the packages but attach nothing - for exercising this against a release that already shipped'
        required: false
        type: boolean
        default: false
      tag:
        description: 'Tag to build .debs for (e.g., v0.1.1)'
        required: true
        type: string

permissions:
  contents: write

jobs:
  deb:
    uses: excelano/.github/.github/workflows/deb.yml@main
    with:
      tag: ${{ github.event.release.tag_name || inputs.tag }}
      dry_run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run }}