Compare commits

...

12 Commits

Author SHA1 Message Date
e81f3261fb Add missing sources.
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 15m6s
2025-01-26 15:10:40 +03:00
b82f5dfe5e Fix everything.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 3m5s
2025-01-26 15:01:58 +03:00
16de4424d0 Add nuget source for projects to compile.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 3m14s
2025-01-25 20:13:39 +03:00
5936c41742 Update all packages.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 3m4s
2025-01-25 20:07:18 +03:00
018ffbf1e6 Add missing \
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 2m32s
2025-01-25 19:56:48 +03:00
e09ecd496b YAML shenanigans.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 9s
2025-01-25 19:55:35 +03:00
881b1bc02a Add more apt dependencies.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 8s
2025-01-25 19:50:28 +03:00
b16c61773f Fix docfx call.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 2m15s
2025-01-25 19:46:21 +03:00
6b446ffb29 More CI shenanigans.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 33s
2025-01-25 19:44:43 +03:00
96f078f51e Mayhaps the package is called nodejs?
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 24s
2025-01-25 19:27:39 +03:00
386b07d1b8 Github CI is fun!
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 20s
2025-01-25 19:25:52 +03:00
9592f4f8e4 Update workflow.
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 8s
2025-01-25 19:22:39 +03:00
6 changed files with 76 additions and 11 deletions

View File

@@ -10,14 +10,45 @@ jobs:
container: container:
image: mcr.microsoft.com/devcontainers/dotnet image: mcr.microsoft.com/devcontainers/dotnet
steps: steps:
- name: Install prerequisites - name: Install APT dependencies
run: |
apt update -y && apt install -y \
git \
nodejs \
libglib2.0-0 \
libnss3 \
libnspr4 \
libdbus-1-3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxcb1 \
libxkbcommon0 \
libx11-6 \
libxcomposite1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libpango-1.0-0 \
libcairo2 \
libasound2 \
libatspi2.0-0
- name: Install .NET Tools
run: dotnet tool update -g docfx run: dotnet tool update -g docfx
- name: Add NuGet Sources
run: |
dotnet nuget add source -n ReFuel -u ${{vars.NUGET_USER_NAME}} -p ${{secrets.REFUEL_API_KEY}} --store-password-in-clear-text ${{vars.NUGET_INDEX}}
dotnet nuget add source -n CallumDev -u ${{ vars.GH_USERNAME }} -p ${{ secrets.GH_API_KEY }} --store-password-in-clear-text https://nuget.pkg.github.com/CallumDev/index.json
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
token: ${{secrets.REFUEL_API_KEY}}
- name: Compile Web Pages - name: Compile Web Pages
run: docfx run: $HOME/.dotnet/tools/docfx
- name: SFTP Deploy - name: SFTP Deploy
uses: wlixcc/SFTP-Deploy-Action@v1.2.5 uses: wlixcc/SFTP-Deploy-Action@v1.2.5
with: with:
@@ -28,4 +59,8 @@ jobs:
local_path: './_site/*' local_path: './_site/*'
remote_path: '${{ vars.DESTINATION }}' remote_path: '${{ vars.DESTINATION }}'
sftpArgs: -o ConnectTimeout=10 sftpArgs: -o ConnectTimeout=10
rsyncArgs: --exclude=.* rsyncArgs: --exclude=.*
- name: Clear Secrets
run: |
dotnet nuget remove source ReFuel
dotnet nuget remove source CallumDev

View File

@@ -3,19 +3,49 @@
{ {
"src": [ "src": [
{ {
"src": "src", "src": "src/Dashboard",
"files": [ "files": [
"**/*.csproj", "**/*.csproj",
"**/bin/Release/*.dll" "**/bin/Release/**.dll"
], ],
"exclude": [ "exclude": [
"ReMime/ReMime.Tests/**" "tests/**",
"lib/**"
]
},
{
"src": "src/ReFuel",
"files": [
"**/*.csproj",
"**/bin/Release/**.dll"
],
"exclude": [
"tests/**",
"lib/**"
]
},
{
"src": "src/ReFuel.StbImage",
"files": [
"**/*.csproj",
"**/bin/Release/**.dll"
]
},
{
"src": "src/ReMime",
"files": [
"**/*.csproj",
"**/bin/Release/**.dll"
],
"exclude":[
"ReMime.Tests/**",
"ReMime.ReFile/**"
] ]
} }
], ],
"dest": "api", "dest": "api",
"properties": { "properties": {
"TargetFramework": "net6.0" "TargetFramework": "net8.0"
} }
} }
], ],