created release action on tag push

This commit is contained in:
Loup-Garou911XD 2024-05-20 20:10:13 +05:30
parent 7705a5605f
commit f59dcf2595
2 changed files with 34 additions and 0 deletions

33
.github/workflows/release.yml vendored Normal file
View 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

View File

@ -197,6 +197,7 @@ ctx.filter_file_names = {
'cd.yml',
'deploy_docs.yml',
'nightly.yml',
'release.yml',
'LICENSE',
'cloudtool',
'bacloud',