chore: bump version to 3.1.1 #8
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: 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 |