Skip to content

Commit

Permalink
Fix export bug, X.
Browse files Browse the repository at this point in the history
- Update to Godot Mono 3.3. RC 9.
- Use firebelley/godot-export@dev to get fix for firebelley/godot-export#51.
- Remove now-superfluous dotnet-sdk pre-install.
- Set English US locale to avoid errors.
- Export mac executable as a zipped app for itch.io, not a dmg.
- Always upload build artifacts for debugging purposes.
- Remove unnecessary Microsoft.NETFramework.ReferenceAssemblies package
  reference from csrpoj.
  • Loading branch information
knightofiam committed Apr 21, 2021
1 parent 2d2f94f commit 257ec55
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,37 @@ on:
branches:
- master

env:
LANG: "en_US.UTF-8"

jobs:
export:
name: export executables
runs-on: ubuntu-latest
steps:
- name: set locale
run: |
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
- name: checkout code
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: install .net sdk
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: use custom editor settings
run: mkdir -p ~/.config/godot && chmod 440 default_env.tres && cp default_env.tres ~/.config/godot/editor_settings-3.tres
- name: create executables
uses: firebelley/godot-export@v2.6.1
uses: firebelley/godot-export@dev
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}
GODOT_MONO_FILE_VERSION: 3.3-rc8
GODOT_MONO_URL_VERSION: 3.3/rc8
GODOT_MONO_FILE_VERSION: 3.3-rc9
GODOT_MONO_URL_VERSION: 3.3/rc9
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_URL_VERSION}}/mono/Godot_v${{env.GODOT_MONO_FILE_VERSION}}_mono_linux_headless_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_URL_VERSION}}/mono/Godot_v${{env.GODOT_MONO_FILE_VERSION}}_mono_export_templates.tpz
relative_project_path: ./
archive_export_output: true
create_release: false
base_version: 0.0.1
base_version: 0.0.1
- name: upload executables
uses: actions/upload-artifact@v2
with:
name: executables
path: ~/.local/share/godot/dist/*.zip
5 changes: 1 addition & 4 deletions coa.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
<TargetFramework>net472</TargetFramework>
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="all"/>
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/mac/coa.dmg"
export_path="build/mac/coa.zip"
script_export_mode=1
script_encryption_key=""

Expand Down

0 comments on commit 257ec55

Please sign in to comment.