mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-07-17 21:03:49 +02:00
Compare commits
5 Commits
4117f9a9b0
...
master
Author | SHA1 | Date | |
---|---|---|---|
3c963e8ee7 | |||
bf732c604a | |||
92a759bf66 | |||
7f89f866c8 | |||
637752b54e |
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
2
LICENSE
2
LICENSE
@ -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.
|
||||
|
@ -1,4 +1,8 @@
|
||||
 
|
||||
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
|
||||
|
||||
---
|
||||
|
||||
 
|
||||
|
||||

|
||||
|
||||
|
14
action.yml
14
action.yml
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user