Files
portus/.gitea/workflows/build.yml
tchivert 3b10816e4e
build / build (push) Successful in 12s
add ci
2024-08-03 01:14:25 +02:00

31 lines
586 B
YAML

name: build
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # all history for all branches and tags
- name: Build
run: go build -o portus
- name: Create release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
portus
api_key: "${{ secrets.RELEASE_TOKEN }}"