chore: clean code #4
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: .NET WinForm | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Restore dependencies | |
run: dotnet restore "./src/IME WL Converter Win" | |
# - name: Build | |
# run: dotnet build --no-restore "./src/IME WL Converter Win" | |
- name: Publish | |
run: dotnet publish --configuration Release --output ./publish "./src/IME WL Converter Win" | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: WinFormApp | |
path: ./publish |