26 lines
547 B
YAML
26 lines
547 B
YAML
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
|
|
- name: Install nix
|
|
uses: https://github.com/cachix/install-nix-action@v25
|
|
- name: Build extension
|
|
run: "nix build .#extension"
|
|
- name: Upload extension
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: aci-ext.zip
|
|
path: result
|