Skip to content

Build Go tools

Build Go tools #606

Workflow file for this run

name: Build Go tools
on:
workflow_dispatch:
push:
branches:
- gotip
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 12 * * *'
jobs:
go-tools:
name: Build Go Tools
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
run: ./bin/hermit env --raw >> $GITHUB_ENV
- name: Build Go
run: make -C go-tools
- name: Upload Versioned
uses: ncipollo/release-action@v1
with:
tag: go-tools
allowUpdates: true
replacesArtifacts: false
artifacts: "go-tools/*.bz2"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Unversioned
uses: ncipollo/release-action@v1
with:
tag: go-tools
allowUpdates: true
replacesArtifacts: true
artifacts: "go-tools/unversioned/*.bz2"
token: ${{ secrets.GITHUB_TOKEN }}