Skip to content

1

1 #23

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Install T4
run: dotnet tool install -g dotnet-t4
- name: Process T4
run: |
find . -type f -name "*.tt" \
-print0 | while IFS= read -r -d '' ttFile; do
echo "Processing template: $ttFile"
t4 "$ttFile"
done
- name: Publish dotnet lib
run: cd ${{github.workspace}}/NuggetMod && dotnet publish -c Release && dotnet pack -c Release
- name: Upload dotnet lib
uses: actions/upload-artifact@v4
with:
name: NuggetMod
path: |
${{github.workspace}}/NuggetMod/nuget/