Skip to content

Update v2.5.0

Update v2.5.0 #7

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main", "beta" ]
pull_request:
branches: [ "main", "beta" ]
env:
GUI_PROJECT_PATH : 'TelltaleTextureTool/TelltaleTextureTool/TelltaleTextureTool.csproj'
OUTPUT_PROJECT_PATH : 'Builds'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ${{env.GUI_PROJECT_PATH}}
- name: Build
run: dotnet build ${{env.GUI_PROJECT_PATH}} --configuration Release --no-restore
- name: Test
run: dotnet test ${{env.GUI_PROJECT_PATH}} --no-build --verbosity normal
- name: Publish
run: dotnet publish ${{env.GUI_PROJECT_PATH}} --configuration Release --no-build
- name: Zip
run: zip -r TelltaleTextureTool.zip ./TelltaleTextureTool/TelltaleTextureTool/bin/Release/net8.0/publish/
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: TelltaleTextureTool
path: ./TelltaleTextureTool/TelltaleTextureTool/bin/Release/net8.0/publish/