DeepLX/.github/workflows/release.yaml
Vincent Young ddd4de353d
ci: add ci
2023-11-19 19:26:07 -05:00

28 lines
464 B
YAML

on:
push:
tags:
- 'v*'
pull_request:
name: Release
jobs:
Build:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: "1.19"
- run: bash .cross_compile.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: false
files: |
dist/*