Skip to content

Commit

Permalink
tryin fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hxhxhx88 committed Mar 4, 2024
1 parent 956b7a6 commit 8412d50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ jobs:
FROM project-dev
ADD . /project
# create an empty file to make `go:embed` happy
RUN cd /project && mkdir app/frontend/build && touch app/frontend/build/test && mkdir docs/build && touch docs/build/test
# create empty files to make `go:embed` happy
RUN \
cd /project && \
mkdir app/frontend/build && \
touch app/frontend/build/test && \
mkdir docs/build && \
touch docs/build/test && \
mkdir app/yjs-server/bin && \
touch app/yjs-server/bin/yjs-server
# generate code
RUN cd /project && task openapi && task proto
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ tasks:
build-dev:
cmds:
- rm -f build/nutsh-dev
- task: yjs:build
- task: frontend:build-dev
- task: backend:build
- mv build/nutsh build/nutsh-dev
Expand Down

0 comments on commit 8412d50

Please sign in to comment.