Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Sep 14, 2023
1 parent 0294265 commit 6e425b2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ jobs:
path: ./godot_version.txt
trim: true
- name: Install Godot
uses: paulloz/[email protected]
with:
version: ${{ steps.godot_version.outputs.content }}
export-templates: false
run: |
export GODOT_VERSION=$(echo "${{ steps.godot_version.outputs.content }}"|tr -d '\n')
wget https://downloads.tuxfamily.org/godotengine/"$GODOT_VERSION"/Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
unzip Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
chmod +x Godot_v"$GODOT_VERSION"-stable_linux.x86_64
rm Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
mv Godot_v"$GODOT_VERSION"-stable_linux.x86_64 /usr/local/bin/godot
- name: Move Godot Export Template
run: |
mkdir -p ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable
mv ./godot.linuxbsd.template_release.x86_64 ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable/godot.linuxbsd.template_release.x86_64
mv ./linux_release.x86_64 ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable/linux_release.x86_64
- name: Build
run: make release GODOT=godot
- name: Package
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ jobs:
path: ./godot_version.txt
trim: true
- name: Install Godot
uses: paulloz/[email protected]
with:
version: ${{ steps.godot_version.outputs.content }}
export-templates: false
run: |
export GODOT_VERSION=$(echo "${{ steps.godot_version.outputs.content }}"|tr -d '\n')
wget https://downloads.tuxfamily.org/godotengine/"$GODOT_VERSION"/Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
unzip Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
chmod +x Godot_v"$GODOT_VERSION"-stable_linux.x86_64
rm Godot_v"$GODOT_VERSION"-stable_linux.x86_64.zip
mv Godot_v"$GODOT_VERSION"-stable_linux.x86_64 /usr/local/bin/godot
- name: Move Godot Export Template
run: |
mkdir -p ~/.local/share/godot/templates/"${{ steps.godot_version.outputs.content }}.stable"
mv ./godot.linuxbsd.template_release.x86_64 ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable/godot.linuxbsd.template_release.x86_64
mkdir -p ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable
mv ./linux_release.x86_64 ~/.local/share/godot/templates/${{ steps.godot_version.outputs.content }}.stable/linux_release.x86_64
- name: Build
run: make release GODOT=godot
- name: Package
Expand Down

0 comments on commit 6e425b2

Please sign in to comment.