mirror of https://github.com/synctv-org/synctv
Feat: update workflow
parent
82aa49c34c
commit
0eeac2c3ec
@ -0,0 +1,34 @@
|
||||
name: release_dev
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release_dev:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest]
|
||||
go-version: ["1.21"]
|
||||
name: Release
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
bash build.sh -v dev -P -p "windows,linux,darwin"
|
||||
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "dev"
|
||||
title: "Dev Build"
|
||||
prerelease: true
|
||||
files: |
|
||||
build/*
|
Loading…
Reference in New Issue