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.

33 lines
670 B

---
name: default
kind: pipeline
type: docker
steps:
- name: build
image: ubuntu
commands:
- apt-get update
- apt-get upgrade -y
- apt-get install wget -y
- apt-get install zip -y
- wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
- dpkg -i packages-microsoft-prod.deb
- apt-get update
- apt-get install apt-transport-https -y
- apt-get install dotnet-sdk-5.0 -y
- ./build.sh
- ./zip-files.sh
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.adawesome.tech
files: builds/*.zip
when:
event: tag