fix typo #42
Workflow file for this run
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
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
env: | |
COMPOSE_FILE: docker-compose.yaml | |
name: Release | |
jobs: | |
build: | |
strategy: | |
matrix: | |
arch: | |
- arm64 | |
- amd64 | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3 | |
with: | |
platforms: linux/${{ matrix.arch}} | |
- name: build | |
run: make pkg | |
env: | |
DOCKER_DEFAULT_PLATFORM: linux/${{ matrix.arch}} | |
- name: donwload ghr | |
run: | | |
curl -L -O -s https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_linux_amd64.tar.gz | |
tar zxf ghr_v0.16.2_linux_amd64.tar.gz | |
sudo mv ghr_v0.16.2_linux_amd64/ghr /usr/bin | |
- name: release | |
run: make github_release |