Sentry/.woodpecker.yml
Gregory Ballantine fb2f7c5bb7
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Added a Woodpecker step to build Windows binaries
2022-05-25 16:25:43 -04:00

42 lines
821 B
YAML

workspace:
base: /usr/src
path: app
pipeline:
build:
image: node:16
commands:
- apt update && apt install -y ruby ruby-dev && gem install sass
- npm install
- npm run grunt
package_linux:
image: electronuserland/builder:16
commands:
- npm install
- npm run build-linux
when:
event: tag
package_windows:
image: electronuserland/builder:16-wine-mono
commands:
- npm install
- npm run build-windows
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
files:
- dist/sentry*.deb
- dist/sentry*.rpm
- dist/sentry*.exe
when:
event: tag