5 Commits

Author SHA1 Message Date
3c963e8ee7 Update ReadMe.md 2025-03-04 23:17:26 +01:00
bf732c604a Adjusted templates folder name (#29)
* Update entrypoint.sh

* Update entrypoint.sh
2025-03-04 23:13:13 +01:00
92a759bf66 Update entrypoint.sh (#22)
* Update entrypoint.sh

* Update entrypoint.sh

* modified to support proper requirements for godot-ci project

* Modified for testing

* added a copy of the action for testing

* test

* added ls

* added ls debug

* modified ls debug

* Last push fixes the issue with not building, both build tests work

* Modified it so we showcase Support for Testing 3.x and 4.x Godot Projects

* Modified the Github Action names to properly reflect the tests
2025-03-04 23:13:13 +01:00
7f89f866c8 Allow Spaces in projectDir (#21)
* try to fix the space issue

* change project dir

* spaced preset name
2025-03-04 23:13:13 +01:00
637752b54e Update ReadMe.md 2022-04-27 01:57:29 -04:00
6 changed files with 18 additions and 16 deletions

View File

@ -4,7 +4,7 @@
Name | Email | Twitter |
-----|-------|---------|
[Joseph Manley](https://github.com/josephbmanley) | [joseph@cloudsumu.com](mailto:joseph@cloudsumu.com) | [@josephbmanley](https://twitter.com/josephbmanley)
[Layla Manley](https://github.com/yeslayla) | -- | [@yeslayla](https://twitter.com/_yeslayla)
## Contributors

View File

@ -5,9 +5,9 @@ LABEL "com.github.actions.description"="Build a Godot project for multiple platf
LABEL "com.github.actions.icon"="loader"
LABEL "com.github.actions.color"="blue"
LABEL repository="https://github.com/josephbmanley/build-godot-action"
LABEL repository="https://github.com/yeslayla/build-godot-action"
LABEL homepage="https://cloudsumu.com/"
LABEL maintainer="Joseph Manley <joseph@cloudsumu.com>"
LABEL maintainer="Layla <layla@cloudsumu.com>"
USER root
ADD entrypoint.sh /entrypoint.sh

View File

@ -1,5 +1,3 @@
Copyright 2020 Joseph Manley
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

View File

@ -1,4 +1,8 @@
![Release Version](https://img.shields.io/github/v/release/josephbmanley/build-godot-action) ![Test Action](https://github.com/josephbmanley/build-godot-action/workflows/Test%20Action/badge.svg)
This project is not currently being maintained. If you want to build Godot projects with GitHub Actions, I'd recommend taking a look at https://github.com/marketplace/actions/godot-ci
---
![Release Version](https://img.shields.io/github/v/release/yeslayla/build-godot-action) ![Test Action](https://github.com/yeslayla/build-godot-action/workflows/Test%20Action/badge.svg)
![Build Godot Project](logo.png)

View File

@ -1,6 +1,6 @@
name: "Build Godot"
description: "Build a Godot project for multiple platforms"
author: josephbmanley
author: yeslayla
inputs:
name:
description: 'Name of the exported binary'
@ -24,12 +24,12 @@ runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.name }}
- ${{ inputs.preset }}
- ${{ inputs.subdirectory }}
- ${{ inputs.package }}
- ${{ inputs.projectDir }}
- ${{ inputs.debugMode }}
- ${{ inputs.name }}
- ${{ inputs.preset }}
- ${{ inputs.subdirectory }}
- ${{ inputs.package }}
- ${{ inputs.projectDir }}
- ${{ inputs.debugMode }}
branding:
icon: loader
color: blue

View File

@ -3,7 +3,7 @@ set -e
# Move godot templates already installed from the docker image to home
mkdir -v -p ~/.local/share/godot/export_templates
cp -a /root/.local/share/godot/templates/. ~/.local/share/godot/export_templates/
cp -a /root/.local/share/godot/export_templates/. ~/.local/share/godot/export_templates/
if [ "$3" != "" ]
@ -25,7 +25,7 @@ cd "$GITHUB_WORKSPACE/$5"
godot --headless --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
echo "Build Done"
echo build=build/${SubDirectoryLocation:-""} >> $GITHUB_OUTPUT
echo ::set-output name=build::build/${SubDirectoryLocation:-""}
if [ "$4" = "true" ]
@ -34,6 +34,6 @@ then
mkdir -p $GITHUB_WORKSPACE/package
cd $GITHUB_WORKSPACE/build
zip $GITHUB_WORKSPACE/package/artifact.zip ${SubDirectoryLocation:-"."} -r
echo artifact=package/artifact.zip >> $GITHUB_OUTPUT
echo ::set-output name=artifact::package/artifact.zip
echo "Done"
fi