mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 21:37:57 +08:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Setup project environment
|
|
run: make env
|
|
|
|
- name: Make the build
|
|
run: make prefab-gui-debug-build
|
|
- name: Compress the build
|
|
run: tar -cf "linux_x86_64_gui(debug).tar" build/prefab/full/linux_x86_64_gui/
|
|
- name: Upload the build
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: build/prefab/full/linux_x86_64_gui/*
|
|
|
|
- name: Make the build
|
|
run: make prefab-server-debug-build
|
|
- name: Compress the build
|
|
run: tar -cf "linux_x86_64_server(debug).tar" build/prefab/full/linux_x86_64_server/
|
|
- name: Upload the build
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: build/prefab/full/linux_x86_64_server/* |