build_binaries.yml 678 B

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