Skip to content

fix panic in layer icons #20

fix panic in layer icons

fix panic in layer icons #20

Workflow file for this run

name: release
on:
push:
tags:
- "v*.*.*"
jobs:
release_linux_windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libayatana-appindicator3-dev
- name: Install just
uses: taiki-e/install-action@just
- name: Build for Linux and Windows
run: |
version=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
just build_release_linux $version
just build_release_windows $version
- name: Upload Linux and Windows artifacts
uses: actions/upload-artifact@v4
with:
name: linux-windows-artifacts
path: |
./dist/kanata-tray.exe
./dist/kanata-tray-linux
release_darwin:
needs: release_linux_windows
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Install just
uses: taiki-e/install-action@just
- name: Download Linux and Windows artifacts
uses: actions/download-artifact@v4
with:
name: linux-windows-artifacts
path: dist
- name: Build for darwin
run: |
version=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
just build_release_macos $version
- name: Add Checksums
run: |
cd ./dist
for file in kanata-tray*; do shasum -a 256 "$file"; done > sha256sums
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
files: |
./dist/kanata-tray.exe
./dist/kanata-tray-linux
./dist/kanata-tray-macos
LICENSE
./dist/sha256sums