Skip to content

docs: add manual install instructions #116

docs: add manual install instructions

docs: add manual install instructions #116

Workflow file for this run

name: test_release
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
enable_debug_tmate:
required: false
type: boolean
default: false
permissions:
contents: write
issues: write
pull-requests: write
jobs:
test:
name: test
strategy:
matrix:
os:
- ubuntu-22.04
- windows-2022
- macos-12
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: (debug) Setup tmate session
if: ${{ inputs.enable_debug_tmate }}
uses: mxschmitt/action-tmate@v3
- name: test
run: |
make test
release:
if: (github.ref == 'refs/heads/main') && (github.repository_owner == 'mikesmithgh')
runs-on: ubuntu-22.04
name: release
needs:
- test
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false # see https://github.com/semantic-release/semantic-release/discussions/2557
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Setup GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
install-only: true
- name: (debug) Setup tmate session
if: ${{ inputs.enable_debug_tmate }}
uses: mxschmitt/action-tmate@v3
- name: Semantic Release
run: |
npm install @semantic-release/git @semantic-release/changelog @semantic-release/exec -D
npx semantic-release
env:
GH_TOKEN: ${{ secrets.GIT_PROMPT_STRING_CI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_PROMPT_STRING_CI_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GIT_PROMPT_STRING_CI_TOKEN }}