2023-11-01 21:04:32 +01:00
|
|
|
name: Build Binaries
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
2023-11-12 16:43:35 +01:00
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
2023-11-01 21:04:32 +01:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Set up Golang
|
2023-12-11 23:21:48 +01:00
|
|
|
uses: actions/setup-go@v5
|
2023-11-01 21:04:32 +01:00
|
|
|
with:
|
|
|
|
go-version: "1.21"
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Compile binaries
|
|
|
|
run: make build
|
|
|
|
- name: Upload binaries
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: binaries
|
|
|
|
path: miniflux-*
|
|
|
|
if-no-files-found: error
|
|
|
|
retention-days: 5
|