VictoriaMetrics/.github/workflows/main.yml

32 lines
594 B
YAML
Raw Normal View History

2019-08-27 11:42:46 +00:00
name: main
on:
workflow_run:
workflows: ["main - test"]
types:
- completed
permissions:
contents: read
2019-08-27 11:42:46 +00:00
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
2019-08-27 11:42:46 +00:00
- name: Setup Go
uses: actions/setup-go@v3
2019-08-27 11:42:46 +00:00
with:
go-version: 1.19.5
check-latest: true
cache: true
2019-08-27 11:42:46 +00:00
- name: Build
run: |
make victoria-metrics-crossbuild
make vmuitils-crossbuild