Skip to content

github ci: debug

github ci: debug #16

Workflow file for this run

name: Release
on:
push:
tags:
- v[0-9]+.[0-9]+*
jobs:
releases-matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- run: go env
- name: Install musl
- run: sudo apt-get install -y --no-install-recommends musl-dev musl-tools
- run: musl-gcc -v
- name: Build
- run: CC=musl-gcc GOARCH=amd64 make full && mv -f bin/gshell bin/gshell.amd64
- run: md5sum bin/gshell* > bin/md5sum
- run: rm -f bin/buildtag bin/gittag
- name: Upload files to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true