2024-10-31 15:43:55 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-11-26 14:47:47 +00:00
|
|
|
runs-on: native
|
2024-10-31 15:43:55 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-11-26 14:47:47 +00:00
|
|
|
- run: nix build .#
|
2024-10-31 15:43:55 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2024-11-26 14:47:47 +00:00
|
|
|
name: jar
|
|
|
|
path: result
|
|
|
|
# release:
|
|
|
|
# runs-on: docker
|
|
|
|
# container:
|
|
|
|
# image: node:lts-bookworm
|
|
|
|
# needs: [build]
|
|
|
|
# if: github.ref_type == 'tag'
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/download-artifact@v3
|
|
|
|
# with:
|
|
|
|
# name: jars
|
|
|
|
# - uses: actions/forgejo-release@v2
|
|
|
|
# with:
|
|
|
|
# direction: upload
|
|
|
|
# release-dir: jars
|