-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (33 loc) · 1.43 KB
/
godot-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: export
on: push
env:
GODOT_VERSION: 4.1.1
WINDOWS_PRESET_NAME: Windows
jobs:
export_game:
runs-on: ubuntu-latest
permissions: write-all
name: Export Game
steps:
- name: checkout
uses: actions/[email protected]
# - name: export game
# id: export
# uses: firebelley/[email protected]
# with:
# godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/${{ env.GODOT_VERSION }}/mono/Godot_v${{ env.GODOT_VERSION }}-stable_mono_linux_x86_64.zip
# godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/${{ env.GODOT_VERSION }}/mono/Godot_v${{ env.GODOT_VERSION }}-stable_mono_export_templates.tpz
# relative_project_path: ./lemons
# archive_output: false
# # - name: Copy Steam Redistributables
# # run: |
# # cp -v ./lemons/steam_api64.dll ${{ steps.export.outputs.build_directory }}/${{ env.WINDOWS_PRESET_NAME }}/
# - name: Prepare Files for Artifact
# run: |
# mkdir -p ${{ github.workspace }}/build/${{ env.WINDOWS_PRESET_NAME }}
# cp -r ${{ steps.export.outputs.build_directory }}/${{ env.WINDOWS_PRESET_NAME }}/* ${{ github.workspace }}/build/${{ env.WINDOWS_PRESET_NAME }}
# - name: Upload Windows artifact
# uses: actions/upload-artifact@v2
# with:
# name: windows-artifact
# path: ${{ github.workspace }}/build/${{ env.WINDOWS_PRESET_NAME }}