Skip to content

Commit

Permalink
Update GA files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gramps committed May 19, 2024
1 parent 3defdde commit 2c34da8
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 3 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Setup Mono
description: Setup mono builds and mono base class libraries.
inputs:
mono-release:
description: The release file to download
default: ""
mono-bcl:
description: The release bcl file to download
default: ""
mono-installs-path:
description: Path to dump the mono-release into
default: $HOME/mono-installs
mono-bcl-path:
description: Path to dump the mono-bcl into
default: $HOME/mono-bcls
mono-build-repo:
description: Github repository to download the prebuilt mono releaes from
default: "godotengine/godot-mono-builds"
mono-build-tag:
description: Release tag to download from the mono-build-repo
default: "release-5299efd"
runs:
using: "composite"
steps:
- name: Setup default inputs
shell: bash
run: |
echo "INPUT_MONO_BUILD_REPO=${{ inputs.mono-build-repo != '' && inputs.mono-build-repo }}" >> $GITHUB_ENV
echo "INPUT_MONO_BUILD_TAG=${{ inputs.mono-build-tag != '' && inputs.mono-build-tag }}" >> $GITHUB_ENV
- name: Download mono release ${{ inputs.mono-release }}
if: ${{ inputs.mono-release != '' }}
uses: dsaltares/fetch-gh-release-asset@master
with:
# Hacky fix since env aren't passing through
repo: ${{ inputs.mono-build-repo }}
version: "tags/release-5299efd"
file: "${{ inputs.mono-release }}.zip"

- name: Extract mono release
if: ${{ inputs.mono-release != '' }}
shell: bash
run: |
7z x "${{ inputs.mono-release }}.zip" -o${{ inputs.mono-installs-path }}
- name: Download mono base class library ${{ inputs.mono-bcl }}
if: ${{ inputs.mono-bcl != '' }}
uses: dsaltares/fetch-gh-release-asset@master
with:
# Hacky fix since env aren't passing through
repo: ${{ inputs.mono-build-repo }}
version: "tags/release-5299efd"
file: "${{ inputs.mono-bcl }}.zip"

- name: Extract mono base class library
if: ${{ inputs.mono-bcl != '' }}
shell: bash
run: |
mkdir -p ${{ inputs.mono-bcl-path }}
7z x "${{ inputs.mono-bcl }}.zip" -otemp
pushd temp
mv -v * ${{ inputs.mono-bcl-path }}
popd
rm -r temp
6 changes: 3 additions & 3 deletions .github/workflows/build-artifact-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
- name: Headless Editor and Templates
cache-name: server
platform: server
editor-name: godot.x11.opt.tools.64
editor-name: godot_server.x11.opt.tools.64
editor-name-new: godotsteam_server.headless.${{ inputs.godot_version }}.editor.linux.64
debug-name: godot.x11.opt.debug.64
debug-name: godot_server.x11.opt.debug.64
debug-name-new: godotsteam_server.headless.${{ inputs.godot_version }}.debug.template.linux.64
release-name: godot.x11.opt.64
release-name: godot_server.x11.opt.64
release-name-new: godotsteam_server.headless.${{ inputs.godot_version }}.template.linux.64


Expand Down

0 comments on commit 2c34da8

Please sign in to comment.