An Yggdrasil address miner in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
448 B

  1. kind: pipeline
  2. name: build & release
  3. steps:
  4. - name: fetch tags
  5. image: docker:git
  6. commands:
  7. - git fetch --tags
  8. when:
  9. event: tag
  10. - name: test
  11. image: golang:1.14
  12. commands:
  13. - go test -v .
  14. when:
  15. event:
  16. exclude:
  17. - tag
  18. - name: release
  19. image: golang:1.14
  20. environment:
  21. GITEA_TOKEN:
  22. from_secret: goreleaser_gitea_token
  23. commands:
  24. - curl -sL https://git.io/goreleaser | bash
  25. when:
  26. event: tag