Adetonics/.forgejo/workflows/release.yaml

50 lines
1.5 KiB
YAML
Raw Normal View History

2026-03-02 15:37:38 +02:00
name: "godot-ci export"
2026-03-02 15:18:21 +02:00
on:
workflow_dispatch:
push:
branches: [ main ]
2026-03-02 15:37:38 +02:00
env:
GODOT_VERSION: 4.6.1
EXPORT_NAME: adatonic
2026-03-02 15:18:21 +02:00
jobs:
2026-03-02 15:37:38 +02:00
export-windows:
name: Windows Export
2026-03-02 15:18:21 +02:00
runs-on: ubuntu-latest
2026-03-02 15:37:38 +02:00
container:
image: docker://barichello/godot-ci:3.2.1
2026-03-02 15:18:21 +02:00
steps:
2026-03-02 15:37:38 +02:00
- name: Checkout
uses: actions/checkout@v1
- name: Setup
run: |
mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
run: godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
2026-03-02 15:18:21 +02:00
with:
2026-03-02 15:37:38 +02:00
name: windows
path: ./build/windows/
2026-03-02 15:18:21 +02:00
2026-03-02 15:37:38 +02:00
export-linux:
name: Linux Export
runs-on: ubuntu-latest
container:
image: docker://barichello/godot-ci:3.2.1
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup
run: |
mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Linux Build
run: godot -v --export "Linux" ./build/linux/$EXPORT_NAME.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v1
2026-03-02 15:18:21 +02:00
with:
2026-03-02 15:37:38 +02:00
name: linux
path: ./build/linux/