Compare commits
5 Commits
00de2cf96d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 159c2ead4c | |||
| 002e23663c | |||
| ee257ba43b | |||
| 240c704386 | |||
| 7db8a6fc9c |
@@ -3,15 +3,13 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: barichello/godot-ci:4.6.2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup export templates
|
|
||||||
run: |
|
|
||||||
find / -name "export_templates" -type d 2>/dev/null
|
|
||||||
find / -name "*.gdz" 2>/dev/null | head -10
|
|
||||||
- name: Get build number
|
- name: Get build number
|
||||||
run: echo "BUILD_NUM=$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
run: echo "BUILD_NUM=$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
@@ -30,7 +28,14 @@ jobs:
|
|||||||
- name: Build Web
|
- name: Build Web
|
||||||
run: godot --headless --export-release "Web" build/spacel.html
|
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:
|
with:
|
||||||
name: build-${{ env.BUILD_NUM }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
path: build/
|
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