✨ Create format.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
pack-patcher: | |
name: Pack Liquip Patcher | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest ] | |
dotnet-version: [ 8.0.x ] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Pack Liquip.Api | |
run: dotnet build ./src/Liquip.API/Liquip.API.csproj --configuration Release --artifacts-path ./out | |
- name: Pack Liquip.Patcher.Build | |
run: dotnet build ./src/Liquip.Patcher.Build/Liquip.Patcher.Build.csproj --configuration Release --artifacts-path ./out | |
- name: Pack Liquip.Patcher | |
run: dotnet build ./src/Liquip.Patcher/Liquip.Patcher.csproj --configuration Release --artifacts-path ./out | |
- name: Pack Liquip.Patcher.Analyzer.Package | |
run: dotnet build ./src/Liquip.Patcher.Analyzer.Package/Liquip.Patcher.Analyzer.Package.csproj --configuration Release --artifacts-path ./out | |
- name: Upload Packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Liquip.Patcher.Packages | |
path: ./out/package/release | |