fix: build issues

This commit is contained in:
spiral 2022-06-26 17:30:12 -04:00
parent 4bf4197c2a
commit 7d11b8c238
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E
5 changed files with 6 additions and 5 deletions

View File

@ -12,8 +12,10 @@
!proto
!scripts/run-clustered.sh
!dashboard
!scheduled_tasks
# Re-exclude host build artifact directories
**/bin
**/obj
**/target
**/target
**/node_modules

View File

@ -5,6 +5,7 @@ on:
branches: [main]
paths:
- 'scheduled_tasks/**'
- 'Dockerfile.scheduled_tasks'
jobs:
deploy:
@ -30,5 +31,5 @@ jobs:
ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}
ghcr.io/pluralkit/scheduled_tasks:${{ github.sha }}
ghcr.io/pluralkit/scheduled_tasks:latest
cache-from: type=registry,ref=ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}
cache-from: type=registry,ref=ghcr.io/pluralkit/scheduledtasks:${{ env.BRANCH_NAME }}
cache-to: type=inline

View File

@ -8,7 +8,6 @@ COPY Myriad/Myriad.csproj /app/Myriad/
COPY PluralKit.API/PluralKit.API.csproj /app/PluralKit.API/
COPY PluralKit.Bot/PluralKit.Bot.csproj /app/PluralKit.Bot/
COPY PluralKit.Core/PluralKit.Core.csproj /app/PluralKit.Core/
COPY PluralKit.ScheduledTasks/PluralKit.ScheduledTasks.csproj /app/PluralKit.ScheduledTasks/
COPY PluralKit.Tests/PluralKit.Tests.csproj /app/PluralKit.Tests/
COPY .git/ /app/.git
COPY proto/ /app/proto

View File

@ -3,6 +3,7 @@ FROM alpine:latest AS builder
RUN apk add go
WORKDIR /build
COPY scheduled_tasks/ /build
RUN go build .

View File

@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluralKit.Tests", "PluralKi
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Myriad", "Myriad\Myriad.csproj", "{ACB9BF37-F29C-4068-A7D1-2EFF2C308C4B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluralKit.ScheduledTasks", "PluralKit.ScheduledTasks\PluralKit.ScheduledTasks.csproj", "{374A8EB3-655D-4230-982B-459AE3553991}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU