Skip to content

chore: bump version to 3.1.1 #14

chore: bump version to 3.1.1

chore: bump version to 3.1.1 #14

Workflow file for this run

name: Release CI
on:
push:
tags:
- "v*"
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: false
includeInvalidCommits: true
- 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: Archive
run: tar -czf imewlconverter_Linux.tar.gz publish/*
- uses: ncipollo/release-action@v1
with:
artifacts: "imewlconverter_Linux.tar.gz"
allowUpdates: true
body: |
${{ steps.changelog.outputs.changes }}
token: ${{ secrets.GITHUB_TOKEN }}
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Generate CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: false
includeInvalidCommits: true
- 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: Archive
run: |
tar -czf imewlconverter_macOS-x64.tar.gz publish-x64/*
tar -czf imewlconverter_macOS-arm64.tar.gz publish-arm64/*
- uses: ncipollo/release-action@v1
with:
artifacts: "imewlconverter_macOS-x64.tar.gz,imewlconverter_macOS-arm64.tar.gz"
allowUpdates: true
body: |
${{ steps.changelog.outputs.changes }}
token: ${{ secrets.GITHUB_TOKEN }}
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Generate CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: false
includeInvalidCommits: true
- 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: Archive
run: 7z a -tzip imewlconverter_Windows.zip publish/
- uses: ncipollo/release-action@v1
with:
artifacts: "imewlconverter_Windows.zip"
allowUpdates: true
body: |
${{ steps.changelog.outputs.changes }}
token: ${{ secrets.GITHUB_TOKEN }}