Try release
All checks were successful
build-linux-glfw-x64 / build (push) Successful in 6m28s

This commit is contained in:
2024-12-07 11:26:18 -06:00
parent 872e79e4fb
commit 876d4c4198

View File

@ -1,7 +1,9 @@
name: build-linux-glfw-x64
on:
# ON tag
push:
branches: [ master, main, main2 ]
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
@ -11,6 +13,7 @@ jobs:
- name: Install Dependencies
run: |
mkdir release
sudo apt-get update
sudo apt-get install -y \
build-essential \
@ -23,15 +26,22 @@ jobs:
python3-pil
- name: Build Game
- name: Build Linux GLFW x64
run: |
if [ -d "build" ]; then
rm -rf build
fi
mkdir build
mkdir release/linux-glfw-x64
cd build
cmake ..
make
cd ..
cp build/src/Dawn release/linux-glfw-x64/Dawn
cp build/dawn.tar release/linux-glfw-x64/dawn.tar
- name: Release
uses: akkuman/gitea-release-action@v1
with:
files: |-
README.md
release/*