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

25 lines
529 B
YAML

name: Build extension ZIP
on:
push:
branches: ['main']
paths:
- 'extension/**/*'
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