Compare commits
7 Commits
72095de5e2
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 159c2ead4c | |||
| 002e23663c | |||
| ee257ba43b | |||
| 240c704386 | |||
| 7db8a6fc9c | |||
| 00de2cf96d | |||
| 2cf46136cb |
+1
Submodule .claude/worktrees/priceless-curran-fcb216 added at 47c37316fb
Submodule .claude/worktrees/zen-albattani-ba62cb updated: edc40f9008...3e55a2297d
+12
-10
@@ -3,18 +3,13 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: barichello/godot-ci:4.6.2
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup export templates
|
||||
run: |
|
||||
mkdir -p ~/.local/share/godot/export_templates/
|
||||
cp -r /root/.local/share/godot/export_templates/* ~/.local/share/godot/export_templates/ 2>/dev/null || \
|
||||
find / -name "*.gdz" -o -name "version.txt" 2>/dev/null | head -5
|
||||
ls /root/.local/share/godot/export_templates/ 2>/dev/null || echo "leer"
|
||||
ls ~/.local/share/godot/export_templates/ 2>/dev/null || echo "leer"
|
||||
- name: Get build number
|
||||
run: echo "BUILD_NUM=$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
||||
|
||||
@@ -33,7 +28,14 @@ jobs:
|
||||
- name: Build Web
|
||||
run: godot --headless --export-release "Web" build/spacel.html
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- name: Create Release
|
||||
uses: https://gitea.com/actions/gitea-release@v1
|
||||
with:
|
||||
name: build-${{ env.BUILD_NUM }}
|
||||
path: build/
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
tag_name: build-${{ env.BUILD_NUM }}
|
||||
release_name: Build ${{ env.BUILD_NUM }}
|
||||
files: |
|
||||
build/spacel.exe
|
||||
build/spacel.x86_64
|
||||
build/spacel.apk
|
||||
build/spacel.html
|
||||
Reference in New Issue
Block a user