mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +08:00
created release action on tag push
This commit is contained in:
parent
7705a5605f
commit
f59dcf2595
33
.github/workflows/release.yml
vendored
Normal file
33
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
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: 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: Upload the build
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
artifacts: build/prefab/full/linux_x86_64_server
|
||||||
@ -197,6 +197,7 @@ ctx.filter_file_names = {
|
|||||||
'cd.yml',
|
'cd.yml',
|
||||||
'deploy_docs.yml',
|
'deploy_docs.yml',
|
||||||
'nightly.yml',
|
'nightly.yml',
|
||||||
|
'release.yml',
|
||||||
'LICENSE',
|
'LICENSE',
|
||||||
'cloudtool',
|
'cloudtool',
|
||||||
'bacloud',
|
'bacloud',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user