Skip to content

perf: 合并词库时检查词条有无编码 #12

perf: 合并词库时检查词条有无编码

perf: 合并词库时检查词条有无编码 #12

Workflow file for this run

name: Commit CI
on: [push]
jobs:
linux:
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 ./src/ImeWlConverterCmd
- name: Publish
run: dotnet publish --configuration Release --output ./publish ./src/ImeWlConverterCmd
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: "imewlconverter_Linux"
path: ./publish
macos:
runs-on: macos-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 ./src/ImeWlConverterCmd
- name: Publish
run: |
dotnet publish --configuration Release --output ./publish-x64 ./src/ImeWlConverterCmd -a x64
dotnet publish --configuration Release --output ./publish-arm64 ./src/ImeWlConverterCmd -a arm64
- name: Upload Artifact (x64)
uses: actions/upload-artifact@v4
with:
name: "imewlconverter_macOS-x64"
path: ./publish-x64
- name: Upload Artifact (arm64)
uses: actions/upload-artifact@v4
with:
name: "imewlconverter_macOS-arm64"
path: ./publish-arm64
windows:
runs-on: windows-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 "./src/IME WL Converter Win"
- name: Publish
run: dotnet publish --configuration Release --output ./publish "./src/IME WL Converter Win"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: imewlconverter_Windows
path: ./publish