bedrocktool/.github/workflows/build.yml
2022-08-11 22:26:08 +02:00

31 lines
706 B
YAML

name: ci-build
on:
push:
tags:
-v*
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: |
bedrocktool_${{ GITHUB_REF:10 }}.exe
bedrocktool_${{ GITHUB_REF:10 }}-linux
bedrocktool_${{ GITHUB_REF:10 }}-mac