Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #710
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Godot Project | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Version | |
run: | | |
git rev-parse HEAD > semantic.version | |
- name: Setup Godot | |
run: | | |
wget https://downloads.tuxfamily.org/godotengine/3.3.2/Godot_v3.3.2-stable_linux_headless.64.zip -O Godot.zip | |
unzip Godot.zip | |
rm Godot.zip | |
mv Godot_v3.3.2-stable_linux_headless.64 /usr/local/bin/godot | |
- name: Build Project | |
run: | | |
wget https://downloads.tuxfamily.org/godotengine/3.3.2/Godot_v3.3.2-stable_export_templates.tpz -q | |
unzip Godot_v3.3.2-stable_export_templates.tpz -d . | |
mkdir -p ~/.local/share/godot/templates/3.3.2.stable | |
mv templates/* ~/.local/share/godot/templates/3.3.2.stable | |
mkdir -p $GITHUB_WORKSPACE/build | |
godot --export linux $GITHUB_WORKSPACE/build/TetraForce.x86_64 | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Client - linux | |
path: ${{ github.workspace }}/build | |
windows: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
platform: [win32, win64] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Version | |
run: | | |
git rev-parse HEAD > semantic.version | |
- name: Setup Godot | |
run: | | |
wget https://downloads.tuxfamily.org/godotengine/3.3.2/Godot_v3.3.2-stable_linux_headless.64.zip -O Godot.zip | |
unzip Godot.zip | |
rm Godot.zip | |
mv Godot_v3.3.2-stable_linux_headless.64 /usr/local/bin/godot | |
- name: Build Project | |
run: | | |
wget https://downloads.tuxfamily.org/godotengine/3.3.2/Godot_v3.3.2-stable_export_templates.tpz -q | |
unzip Godot_v3.3.2-stable_export_templates.tpz -d . | |
mkdir -p ~/.local/share/godot/templates/3.3.2.stable | |
mv templates/* ~/.local/share/godot/templates/3.3.2.stable | |
mkdir -p $GITHUB_WORKSPACE/build | |
godot --export ${{ matrix.platform }} $GITHUB_WORKSPACE/build/TetraForce.exe | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Client - ${{ matrix.platform }} | |
path: ${{ github.workspace }}/build |