try fix actions part 2
This commit is contained in:
34
.github/workflows/godot-ci.yml
vendored
34
.github/workflows/godot-ci.yml
vendored
@@ -1,32 +1,2 @@
|
|||||||
name: "godot-ci export"
|
- name: godot-ci
|
||||||
on: push
|
uses: abarichello/godot-ci@mono-3.4.2
|
||||||
|
|
||||||
env:
|
|
||||||
GODOT_VERSION: 3.3.4
|
|
||||||
EXPORT_NAME: RPG-Test
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
export-windows:
|
|
||||||
name: Windows Export
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
container:
|
|
||||||
image: barichello/godot-ci:mono-3.3.4
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Setup
|
|
||||||
run: |
|
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
|
||||||
- name: Windows Build
|
|
||||||
run: |
|
|
||||||
mkdir -v -p build/windows
|
|
||||||
cd $EXPORT_NAME
|
|
||||||
godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: windows
|
|
||||||
path: build/windows
|
|
||||||
|
Reference in New Issue
Block a user