dbbab1c761
尽管里面有点粪,但还是生成了漂亮的树,就当给树施肥了 剩下一个小问题:未考虑节点的宽度(因为名称不一样长),但目前未发现对图生成的明显影响 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Reviewed-on: PostGuard/Canon#33 Co-authored-by: Ichirinko <1621543655@qq.com> Co-committed-by: Ichirinko <1621543655@qq.com>
29 lines
894 B
YAML
29 lines
894 B
YAML
name: Build Docker Image
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
Build-Canon:
|
|
runs-on: archlinux
|
|
steps:
|
|
- uses: https://git.rrricardo.top/actions/checkout@v4
|
|
name: Check out code
|
|
with:
|
|
github-server-url: 'https://git.rrricardo.top'
|
|
- name: Cache nuget packages
|
|
uses: https://git.rrricardo.top/actions/cache@v4
|
|
with:
|
|
path: ~/.nuget/packages
|
|
key: ${{ runner.os }}-nuget
|
|
save-always: true
|
|
- name: Build .net assembly
|
|
run: |
|
|
cd Canon.Server
|
|
dotnet publish
|
|
- name: Build docker image
|
|
run: |
|
|
cd Canon.Server
|
|
docker build . -t canon-server:latestjj
|