Compare commits
No commits in common. "dd21d435b555db7b3aff26ffee8c7460c2dff5cf" and "06803fa07f4ed05b31e9ca1b602dbf711c35fe67" have entirely different histories.
dd21d435b5
...
06803fa07f
|
@ -1,37 +0,0 @@
|
|||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Checkout repo
|
||||
uses: RouxAntoine/checkout@v3.5.4
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
- name: Build Windows
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/win-x64 -r win-x64 -p:PublishSingleFile=true --nologo
|
||||
- name: Build Linux
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/linux-x64 -r linux-x64 -p:PublishAot=true --nologo
|
||||
- name: Upload Windows
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: win_x64
|
||||
path: ${{ gitea.workspace }}/release/win-x64/
|
||||
- name: Upload Linux
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: linux_x64
|
||||
path: ${{ gitea.workspace }}/release/linux-x64/
|
|
@ -7,8 +7,7 @@
|
|||
<Nullable>enable</Nullable>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<!-- <PublishSingleFile>true</PublishSingleFile>-->
|
||||
<!-- <PublishAot>true</PublishAot>-->
|
||||
<PublishAot>true</PublishAot>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue