mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-03-23 14:10:15 +00:00
43 lines
810 B
YAML
43 lines
810 B
YAML
name: Push
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "Makefile"
|
|
- "go.mod"
|
|
- "go.sum"
|
|
- "go/**"
|
|
- "profile/**"
|
|
branches:
|
|
- artifacts
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version:
|
|
"stable" # Uses the latest stable Go version
|
|
|
|
# checkout repository
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
|
|
# build binana tool
|
|
- name: Make tool
|
|
run: make dependencies
|
|
|
|
# run binana tool
|
|
- name: Make artifacts
|
|
run: make artifacts
|
|
|
|
# upload artifacts
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: artifacts
|
|
path: artifacts/
|