miniflux/.github/workflows/build_binaries.yml

30 lines
650 B
YAML
Raw Normal View History

2023-11-01 21:04:32 +01:00
name: Build Binaries
on:
workflow_dispatch:
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
uses: actions/setup-go@v5
2023-11-01 21:04:32 +01:00
with:
go-version: "1.22.x"
check-latest: true
2023-11-01 21:04:32 +01:00
- name: Checkout
uses: actions/checkout@v4
- name: Compile binaries
2024-02-22 05:25:01 +01:00
env:
CGO_ENABLED: 0
2023-11-01 21:04:32 +01:00
run: make build
- name: Upload binaries
uses: actions/upload-artifact@v4
2023-11-01 21:04:32 +01:00
with:
name: binaries
path: miniflux-*
if-no-files-found: error
retention-days: 5