5 Commits
8 changed files with 797 additions and 759 deletions

No files matched your search

+3
View File
@@ -28,6 +28,9 @@ jobs:
- name: Check out repository
uses: https://github.com/actions/checkout@v4
- name: Initialize CaptchaKit submodule
run: git submodule update --init --recursive packages/CaptchaKit
- name: Set up .NET
uses: https://github.com/actions/setup-dotnet@v4
with:
+3
View File
@@ -16,8 +16,11 @@ COPY global.json ./
COPY versions.props ./
COPY .env.example ./
COPY src/Jiaowu.Api/Jiaowu.Api.csproj ./src/Jiaowu.Api/
COPY packages/CaptchaKit/src/CaptchaKit.Core/CaptchaKit.Core.csproj ./packages/CaptchaKit/src/CaptchaKit.Core/
COPY packages/CaptchaKit/src/CaptchaKit.AspNetCore/CaptchaKit.AspNetCore.csproj ./packages/CaptchaKit/src/CaptchaKit.AspNetCore/
RUN dotnet restore ./src/Jiaowu.Api/Jiaowu.Api.csproj --arch "$TARGETARCH"
COPY src/Jiaowu.Api/ ./src/Jiaowu.Api/
COPY packages/CaptchaKit/ ./packages/CaptchaKit/
COPY --from=frontend /source/src/Jiaowu.Api/wwwroot/ ./src/Jiaowu.Api/wwwroot/
RUN dotnet publish ./src/Jiaowu.Api/Jiaowu.Api.csproj \
--configuration Release \
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more