fix: build issues
This commit is contained in:
parent
4bf4197c2a
commit
7d11b8c238
@ -12,8 +12,10 @@
|
|||||||
!proto
|
!proto
|
||||||
!scripts/run-clustered.sh
|
!scripts/run-clustered.sh
|
||||||
!dashboard
|
!dashboard
|
||||||
|
!scheduled_tasks
|
||||||
|
|
||||||
# Re-exclude host build artifact directories
|
# Re-exclude host build artifact directories
|
||||||
**/bin
|
**/bin
|
||||||
**/obj
|
**/obj
|
||||||
**/target
|
**/target
|
||||||
|
**/node_modules
|
3
.github/workflows/scheduled_tasks.yml
vendored
3
.github/workflows/scheduled_tasks.yml
vendored
@ -5,6 +5,7 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- 'scheduled_tasks/**'
|
- 'scheduled_tasks/**'
|
||||||
|
- 'Dockerfile.scheduled_tasks'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -30,5 +31,5 @@ jobs:
|
|||||||
ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}
|
ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}
|
||||||
ghcr.io/pluralkit/scheduled_tasks:${{ github.sha }}
|
ghcr.io/pluralkit/scheduled_tasks:${{ github.sha }}
|
||||||
ghcr.io/pluralkit/scheduled_tasks:latest
|
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
|
cache-to: type=inline
|
||||||
|
@ -8,7 +8,6 @@ COPY Myriad/Myriad.csproj /app/Myriad/
|
|||||||
COPY PluralKit.API/PluralKit.API.csproj /app/PluralKit.API/
|
COPY PluralKit.API/PluralKit.API.csproj /app/PluralKit.API/
|
||||||
COPY PluralKit.Bot/PluralKit.Bot.csproj /app/PluralKit.Bot/
|
COPY PluralKit.Bot/PluralKit.Bot.csproj /app/PluralKit.Bot/
|
||||||
COPY PluralKit.Core/PluralKit.Core.csproj /app/PluralKit.Core/
|
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 PluralKit.Tests/PluralKit.Tests.csproj /app/PluralKit.Tests/
|
||||||
COPY .git/ /app/.git
|
COPY .git/ /app/.git
|
||||||
COPY proto/ /app/proto
|
COPY proto/ /app/proto
|
||||||
|
@ -3,6 +3,7 @@ FROM alpine:latest AS builder
|
|||||||
RUN apk add go
|
RUN apk add go
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY scheduled_tasks/ /build
|
COPY scheduled_tasks/ /build
|
||||||
|
|
||||||
RUN go build .
|
RUN go build .
|
||||||
|
@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluralKit.Tests", "PluralKi
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Myriad", "Myriad\Myriad.csproj", "{ACB9BF37-F29C-4068-A7D1-2EFF2C308C4B}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Myriad", "Myriad\Myriad.csproj", "{ACB9BF37-F29C-4068-A7D1-2EFF2C308C4B}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluralKit.ScheduledTasks", "PluralKit.ScheduledTasks\PluralKit.ScheduledTasks.csproj", "{374A8EB3-655D-4230-982B-459AE3553991}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Loading…
Reference in New Issue
Block a user