2024-02-20 00:03:13 +00:00
|
|
|
name: Build extension ZIP
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['main']
|
|
|
|
paths:
|
|
|
|
- 'extension/**/*'
|
2024-03-11 09:52:59 +00:00
|
|
|
- flake.nix
|
2024-02-20 00:03:13 +00:00
|
|
|
|
|
|
|
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
|
2024-02-20 00:03:13 +00:00
|
|
|
- name: Build extension
|
2024-02-25 15:22:17 +00:00
|
|
|
run: "nix build .#extension"
|
2024-02-20 00:03:13 +00:00
|
|
|
- name: Upload extension
|
2024-02-25 15:29:12 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2024-02-20 00:03:13 +00:00
|
|
|
with:
|
|
|
|
name: aci-ext.zip
|
2024-02-25 13:58:26 +00:00
|
|
|
path: result
|