aci/.forgejo/workflows/build-ext.yml

27 lines
547 B
YAML
Raw Normal View History

name: Build extension ZIP
on:
push:
branches: ['main']
paths:
- 'extension/**/*'
- flake.nix
jobs:
publish:
name: Build extension
runs-on: docker
steps:
- name: Checkout code
uses: actions/checkout@v4
2024-02-25 15:22:17 +00:00
- name: Install nix
uses: https://github.com/cachix/install-nix-action@v25
- name: Build extension
2024-02-25 15:22:17 +00:00
run: "nix build .#extension"
- name: Upload extension
uses: actions/upload-artifact@v3
with:
name: aci-ext.zip
path: result