-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (36 loc) · 992 Bytes
/
go-tools.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 }}