2022-08-11 20:22:39 +00:00
|
|
|
name: ci-build
|
|
|
|
on:
|
|
|
|
push:
|
2022-08-11 20:25:08 +00:00
|
|
|
tags:
|
|
|
|
-v*
|
2022-08-11 20:22:39 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
name: Build
|
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: '1.19'
|
|
|
|
check-latest: true
|
|
|
|
cache: true
|
|
|
|
|
|
|
|
- run: make
|
|
|
|
|
|
|
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
automatic_release_tag: "latest"
|
|
|
|
prerelease: true
|
|
|
|
title: "Development Build"
|
|
|
|
files: |
|
2022-08-11 20:26:08 +00:00
|
|
|
bedrocktool_${{ GITHUB_REF:10 }}.exe
|
|
|
|
bedrocktool_${{ GITHUB_REF:10 }}-linux
|
|
|
|
bedrocktool_${{ GITHUB_REF:10 }}-mac
|