Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e50e2c9918 | |||
| 5cb2d2beb5 | |||
| cb2d7e35ce |
39
.gitea/workflows/dev-branch.yaml
Normal file
39
.gitea/workflows/dev-branch.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: Create tag and build when new code gets to main
|
||||||
|
run-name: Create tag and build when new code gets to main
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**' # matches every branch
|
||||||
|
- '!main' # except main
|
||||||
|
- '!release/*' # except release branches
|
||||||
|
tags-ignore:
|
||||||
|
- "**"
|
||||||
|
|
||||||
|
env:
|
||||||
|
GAME_NAME: MovementTests
|
||||||
|
ITCHIO_USERNAME: Minimata
|
||||||
|
ITCHIO_GAMEID: MovementTests
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Export:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: barichello/godot-ci:mono-4.5
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install node, curl and zip
|
||||||
|
run: |
|
||||||
|
apt update && apt -y install curl zip nodejs
|
||||||
|
- name: Checkout with LFS
|
||||||
|
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
|
||||||
|
with:
|
||||||
|
checkout-version: 3
|
||||||
|
|
||||||
|
- name: Import resources and build solution
|
||||||
|
run: |
|
||||||
|
godot --headless --editor --build-solutions --quit --import --path $PWD
|
||||||
|
|
||||||
|
- name: Build Windows
|
||||||
|
run: |
|
||||||
|
mkdir -v -p build/windows
|
||||||
|
godot --headless --verbose --build-solutions --export-release "Windows Desktop" build/windows/${{ env.GAME_NAME }}.exe
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"sdk": {
|
|
||||||
"version": "9.0.0",
|
|
||||||
"rollForward": "latestMajor",
|
|
||||||
"allowPrerelease": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user