mirror of https://github.com/miniflux/v2.git
Add GitHub workflow to build binaries
This commit is contained in:
parent
e3eaaea15a
commit
d8c82829c4
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build Binaries
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Golang
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
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
|
Loading…
Reference in New Issue