mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-07 21:13:50 -05:00
35 lines
792 B
YAML
35 lines
792 B
YAML
name: Pre-Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: '0'
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
- name: Install make
|
|
run: sudo apt update && sudo apt install build-essential
|
|
- name: Build All targets
|
|
run: make VERBOSE="-v" all
|
|
- name: Release Binary
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
with:
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
prerelease: true
|
|
automatic_release_tag: "pre-release"
|
|
title: "Pre-release"
|
|
files: |
|
|
bin/*
|