Skip to content

ci: add action to build commits #1

ci: add action to build commits

ci: add action to build commits #1

Workflow file for this run

name: Build Commit
on:
push:
branches:
- '**'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: GIT Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Fetch Submodules Recursively
run: git submodule update --init --recursive
- name: .NET 10 Setup
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: .NET Restore
run: dotnet restore FortnitePorting
- name: .NET Publish
run: |
dotnet publish FortnitePorting -c Release --self-contained -r win-x64 -o "./Release" `
-p:PublishSingleFile=true `
-p:DebugType=None `
-p:DebugSymbols=false `
-p:IncludeNativeLibrariesForSelfExtract=true
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: FortnitePorting-${{ github.sha }}
path: ./Release/FortnitePorting.exe
retention-days: 30