mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-09-13 19:43:40 +02:00
Compare commits
4 Commits
3c963e8ee7
...
main
Author | SHA1 | Date | |
---|---|---|---|
451ef5c53d | |||
f362e14dc5 | |||
7773d38d12 | |||
7727f04a91 |
@ -1,11 +0,0 @@
|
|||||||
[bumpversion]
|
|
||||||
current_version = 0.0.0
|
|
||||||
commit = False
|
|
||||||
tag = True
|
|
||||||
tag_name = {new_version}
|
|
||||||
|
|
||||||
[semver]
|
|
||||||
main_branches = master
|
|
||||||
major_branches =
|
|
||||||
minor_branches = feature
|
|
||||||
patch_branches = hotfix, bugfix
|
|
30
.github/workflows/version.yml
vendored
30
.github/workflows/version.yml
vendored
@ -1,30 +0,0 @@
|
|||||||
name: Version & Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CheckVersion:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: rightbrainnetworks/auto-semver
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
- name: Run Auto-Semver
|
|
||||||
id: semver
|
|
||||||
uses: RightBrain-Networks/semver-action@1.0.0
|
|
||||||
- name: Create Release
|
|
||||||
id: create_release
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
if: steps['semver']['outputs']['RETURN_STATUS'] == '0'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
tag_name: ${{ steps.semver.outputs.SEMVER_NEW_VERSION }}
|
|
||||||
release_name: ${{ steps.semver.outputs.SEMVER_NEW_VERSION }}
|
|
||||||
body: Release Version ${{ steps.semver.outputs.SEMVER_NEW_VERSION }}
|
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
@ -2,17 +2,19 @@
|
|||||||
|
|
||||||
## Maintainers
|
## Maintainers
|
||||||
|
|
||||||
Name | Email | Twitter |
|
Name | Email |
|
||||||
-----|-------|---------|
|
-----|-------|
|
||||||
[Layla Manley](https://github.com/yeslayla) | -- | [@yeslayla](https://twitter.com/_yeslayla)
|
[Layla Manley](https://github.com/yeslayla) | [layla@layla.gg](mailto:layla@layla.gg)
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
A giant thanks to everyone put in the time to improve Godot CI!
|
A giant thanks to everyone put in the time to improve Godot CI!
|
||||||
|
|
||||||
Name | Email | Twitter |
|
Name | Email |
|
||||||
---- | ----- | ------- |
|
---- | ----- |
|
||||||
[Tomer Keren](https://github.com/Tadaboody) | [tomerpet@gmail.com](tomerpet@gmail.com) | [@Tadaboody](https://twitter.com/Tadaboody)
|
[Tomer Keren](https://github.com/Tadaboody) | [tomerpet@gmail.com](tomerpet@gmail.com) | [@Tadaboody](https://twitter.com/Tadaboody)
|
||||||
|
[stonedDiscord](https://github.com/stonedDiscord) | |
|
||||||
|
[Bioblaze Payne](https://github.com/Bioblaze)|BioblazePayne@gmail.com|[BioblazePayne](https://twitter.com/BioblazePayne)
|
||||||
|
|
||||||
## Additional Credits
|
## Additional Credits
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ LABEL "com.github.actions.color"="blue"
|
|||||||
|
|
||||||
LABEL repository="https://github.com/yeslayla/build-godot-action"
|
LABEL repository="https://github.com/yeslayla/build-godot-action"
|
||||||
LABEL homepage="https://cloudsumu.com/"
|
LABEL homepage="https://cloudsumu.com/"
|
||||||
LABEL maintainer="Layla <layla@cloudsumu.com>"
|
LABEL maintainer="Joseph Manley <joseph@cloudsumu.com>"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
|
2
LICENSE
2
LICENSE
@ -1,3 +1,5 @@
|
|||||||
|
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:
|
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.
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
18
ReadMe.md
18
ReadMe.md
@ -1,11 +1,9 @@
|
|||||||
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
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
[**This is the WIP branch for 2.x of this project. For a stable experience and documentation please use the latest 1.x**](https://github.com/yeslayla/build-godot-action/tree/1.x)
|
||||||
|
|
||||||
This action builds the godot project in your `$GITHUB_WORKSPACE`, so that you can easily automate builds.
|
This action builds the godot project in your `$GITHUB_WORKSPACE`, so that you can easily automate builds.
|
||||||
|
|
||||||
Table of Contents:
|
Table of Contents:
|
||||||
@ -46,7 +44,7 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: manleydev/build-godot-action@v1.4.1
|
uses: yeslayla/build-godot-action@v1
|
||||||
with:
|
with:
|
||||||
name: example
|
name: example
|
||||||
preset: ${{ matrix.platform }}
|
preset: ${{ matrix.platform }}
|
||||||
@ -86,7 +84,7 @@ Additionally if you are not using a matrix, you can set the export preset as the
|
|||||||
```yaml
|
```yaml
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: manleydev/build-godot-action@v1.4.1
|
uses: yeslayla/build-godot-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
name: example
|
name: example
|
||||||
preset: win32
|
preset: win32
|
||||||
@ -99,7 +97,7 @@ To change the export name, you can the `name` parameter to whatever you want you
|
|||||||
```yaml
|
```yaml
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: manleydev/build-godot-action@v1.4.1
|
uses: yeslayla/build-godot-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
name: test # This project will export with the name "test"
|
name: test # This project will export with the name "test"
|
||||||
```
|
```
|
||||||
@ -111,7 +109,7 @@ This example is set to build with debug mode enable. To disable debug, either se
|
|||||||
```yaml
|
```yaml
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: manleydev/build-godot-action@v1.4.1
|
uses: yeslayla/build-godot-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
name: example
|
name: example
|
||||||
preset: ${{ matrix.platform }}
|
preset: ${{ matrix.platform }}
|
||||||
@ -125,7 +123,7 @@ If your project is located in a subdirectory, you can use the `projectDir` to ch
|
|||||||
```yaml
|
```yaml
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
uses: manleydev/build-godot-action@v1.4.1
|
uses: yeslayla/build-godot-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
name: example
|
name: example
|
||||||
preset: ${{ matrix.platform }}
|
preset: ${{ matrix.platform }}
|
||||||
@ -146,7 +144,7 @@ Example:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: manleydev/build-godot-action@[VERSION]
|
- uses: yeslayla/build-godot-action@[VERSION]
|
||||||
with:
|
with:
|
||||||
name: godot-project
|
name: godot-project
|
||||||
preset: HTML5
|
preset: HTML5
|
||||||
|
12
action.yml
12
action.yml
@ -24,12 +24,12 @@ runs:
|
|||||||
using: docker
|
using: docker
|
||||||
image: Dockerfile
|
image: Dockerfile
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.name }}
|
- ${{ inputs.name }}
|
||||||
- ${{ inputs.preset }}
|
- ${{ inputs.preset }}
|
||||||
- ${{ inputs.subdirectory }}
|
- ${{ inputs.subdirectory }}
|
||||||
- ${{ inputs.package }}
|
- ${{ inputs.package }}
|
||||||
- ${{ inputs.projectDir }}
|
- ${{ inputs.projectDir }}
|
||||||
- ${{ inputs.debugMode }}
|
- ${{ inputs.debugMode }}
|
||||||
branding:
|
branding:
|
||||||
icon: loader
|
icon: loader
|
||||||
color: blue
|
color: blue
|
||||||
|
@ -3,7 +3,7 @@ set -e
|
|||||||
|
|
||||||
# Move godot templates already installed from the docker image to home
|
# Move godot templates already installed from the docker image to home
|
||||||
mkdir -v -p ~/.local/share/godot/export_templates
|
mkdir -v -p ~/.local/share/godot/export_templates
|
||||||
cp -a /root/.local/share/godot/export_templates/. ~/.local/share/godot/export_templates/
|
cp -a /root/.local/share/godot/templates/. ~/.local/share/godot/export_templates/
|
||||||
|
|
||||||
|
|
||||||
if [ "$3" != "" ]
|
if [ "$3" != "" ]
|
||||||
|
Reference in New Issue
Block a user