Skip to content

Fix: ensure tab title updates instantly despite PSReadLine overwritin… #7

Fix: ensure tab title updates instantly despite PSReadLine overwritin…

Fix: ensure tab title updates instantly despite PSReadLine overwritin… #7

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [windows, linux, darwin]
goarch: [amd64, arm64]
exclude:
- goos: darwin
goarch: amd64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
run: |
EXT=""
if [ "${{ matrix.goos }}" = "windows" ]; then
EXT=".exe"
fi
OUTPUT="ttag-${{ matrix.goos }}-${{ matrix.goarch }}${EXT}"
go build -ldflags="-s -w" -o "$OUTPUT" .
echo "ASSET_NAME=$OUTPUT" >> "$GITHUB_ENV"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.ASSET_NAME }}
path: ${{ env.ASSET_NAME }}
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: artifacts/*