Crafter.Build/.github/workflows/release.yaml

22 lines
No EOL
423 B
YAML

name: Main
on:
push:
tags:
- '*'
jobs:
build:
runs-on: self-hosted
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
run: sudo apt install clang lld
- name: Build
run: ./build.sh
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ./bin/crafter-build