generated from krampus/template-godot4
Added gitea publish action
This commit is contained in:
parent
0acfa25b19
commit
67ed907b02
|
@ -0,0 +1,35 @@
|
|||
name: itch.io publish action
|
||||
run-name: ${{ gitea.actor }} is publishing ${{ gitea.repository }} ${{ gitea.ref }} to itch.io.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- ci-test
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PNAME: ${{ gitea.event.repository.name }}
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [linux, mac, windows]
|
||||
steps:
|
||||
- name: Dump context
|
||||
run: echo "$GITEA_CONTEXT"
|
||||
shell: bash
|
||||
env:
|
||||
GITEA_CONTEXT: ${{ toJson(gitea) }}
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
git init
|
||||
- name: Build project
|
||||
uses: yeslayla/build-godot-action@v1.5.0
|
||||
with:
|
||||
name: gfolf
|
||||
preset: ${{ matrix.platform }}
|
||||
debugMode: "true"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
|
@ -1,6 +1,6 @@
|
|||
[preset.0]
|
||||
|
||||
name="Linux"
|
||||
name="linux"
|
||||
platform="Linux"
|
||||
runnable=true
|
||||
advanced_options=true
|
||||
|
@ -40,7 +40,7 @@ rm -rf \"{temp_dir}\""
|
|||
|
||||
[preset.1]
|
||||
|
||||
name="Windows Desktop"
|
||||
name="windows"
|
||||
platform="Windows Desktop"
|
||||
runnable=true
|
||||
advanced_options=true
|
||||
|
@ -105,7 +105,7 @@ Remove-Item -Recurse -Force '{temp_dir}'"
|
|||
|
||||
[preset.2]
|
||||
|
||||
name="macOS"
|
||||
name="mac"
|
||||
platform="macOS"
|
||||
runnable=true
|
||||
advanced_options=true
|
||||
|
|
Loading…
Reference in New Issue