build_binaries.yml 619 B

12345678910111213141516171819202122232425262728
  1. name: Build Binaries
  2. on:
  3. workflow_dispatch:
  4. push:
  5. tags:
  6. - '[0-9]+.[0-9]+.[0-9]+'
  7. jobs:
  8. build:
  9. name: Build
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Set up Golang
  13. uses: actions/setup-go@v5
  14. with:
  15. go-version: "1.22"
  16. - name: Checkout
  17. uses: actions/checkout@v4
  18. - name: Compile binaries
  19. env:
  20. CGO_ENABLED: 0
  21. run: make build
  22. - name: Upload binaries
  23. uses: actions/upload-artifact@v4
  24. with:
  25. name: binaries
  26. path: miniflux-*
  27. if-no-files-found: error
  28. retention-days: 5