Fix test project reference, add .gitignore, fix workflow (remove checkout step)
This commit is contained in:
parent
77a30be8ff
commit
672038d9d3
3 changed files with 14 additions and 7 deletions
|
|
@ -11,9 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: mcr.microsoft.com/dotnet/sdk:10.0
|
container: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
# No checkout needed — Forgejo Actions auto-clones the repo
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
|
|
@ -29,9 +27,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: mcr.microsoft.com/dotnet/sdk:10.0
|
container: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Publish Blazor WASM
|
- name: Publish Blazor WASM
|
||||||
run: dotnet publish -c Release -o /tmp/publish
|
run: dotnet publish -c Release -o /tmp/publish
|
||||||
|
|
||||||
|
|
|
||||||
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# .NET build artifacts
|
||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
*.user
|
||||||
|
*.suo
|
||||||
|
*.cache
|
||||||
|
.vs/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\StellarisIdle.csproj" />
|
<ProjectReference Include="../StellarisIdle.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Add table
Reference in a new issue