build_binaries.yml 648 B

1234567891011121314151617181920212223242526272829
  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: Checkout
  13. uses: actions/checkout@v5
  14. - name: Set up Golang
  15. uses: actions/setup-go@v6
  16. with:
  17. go-version: stable
  18. check-latest: true
  19. - name: Compile binaries
  20. env:
  21. CGO_ENABLED: 0
  22. run: make build
  23. - name: Upload binaries
  24. uses: actions/upload-artifact@v4
  25. with:
  26. name: binaries
  27. path: miniflux-*
  28. if-no-files-found: error
  29. retention-days: 5