Skip to content

Commit 5fb445e

Browse files
authored
v0.1.1: chore: update CI workflows, docfx action, and project references (#2)
* chore: Rename GitHub workflow file and update .NET setup Moved .github/workflows/main.yml to .github/workflows/generate-docs.yml and added .NET 8 setup step for documentation generation. * chore: Update docs generation workflow and standardize README filenames - Update .NET version from 8 to 9 in GitHub Actions workflow - Change docfx action from CaseyHofland/docfx-unitypackage to Bli-AIk/docfx-unitypackage - Rename readme.md and its meta file to uppercase README.md for consistency * chore: Update GitHub Actions workflow to use fixed version of docfx-unitypackage action * chore(addressables): update assembly references and namespaces Update assembly definition precompiled references from Lunar.dll to Lunar.Core.Base.dll and Lunar.Core.ECS.dll. Update namespace from Lunar.Interfaces to Lunar.Core.Base.Interfaces in AddressablesAdapter.cs to align with new assembly structure.
1 parent 61d00db commit 5fb445e

File tree

5 files changed

+41
-2
lines changed

5 files changed

+41
-2
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: docfx-unitypackage
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: true
20+
21+
- name: Setup .NET 9
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: '9.0'
25+
26+
27+
- name: Build
28+
uses: Bli-AIk/docfx-unitypackage@v1.0.0
29+
with:
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Deploy
33+
uses: peaceiris/actions-gh-pages@v3
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_branch: gh-pages
37+
publish_dir: _site
File renamed without changes.
File renamed without changes.

Runtime/AddressablesAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Threading;
44
using System.Threading.Tasks;
5-
using Lunar.Interfaces;
5+
using Lunar.Core.Base.Interfaces;
66
using UnityEngine.ResourceManagement.AsyncOperations;
77
using Object = UnityEngine.Object;
88

Runtime/com.bliaik.lunar.addressables.runtime.asmdef

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"allowUnsafeCode": false,
1212
"overrideReferences": true,
1313
"precompiledReferences": [
14-
"Lunar.dll"
14+
15+
"Lunar.Core.Base.dll",
16+
"Lunar.Core.ECS.dll"
1517
],
1618
"autoReferenced": true,
1719
"defineConstraints": [],

0 commit comments

Comments
 (0)