DeepLX/.github/workflows/build.yml
2023-10-20 05:40:38 -04:00

28 lines
465 B
YAML

on:
push:
tags:
- 'v*'
pull_request:
name: Build Release
jobs:
Build:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: missuo
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/*