Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #56

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #56

Workflow file for this run

# Whenever a push is made to the master branch then run the job
on:
push:
branches:
- master
pull_request:
branches:
- master
name: "Build Mazerator from master branch"
jobs:
# job id, can be anything
export_game:
# Always use ubuntu-latest for this action
runs-on: ubuntu-latest
# Job name, can be anything
name: Export Game Job
steps:
- name: install wine
id: wine_install
run: |
sudo apt install wine64
echo ::set-output name=WINE_PATH::$(which wine64)
# Always include the checkout step so that
# your project is available for Godot to export
- name: checkout
uses: actions/[email protected]
# Ensure that you get the entire project history
with:
fetch-depth: 0
- name: export game
# Use latest version (see releases for all versions)
uses: firebelley/[email protected]
with:
# Defining all the required inputs
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/3.3/Godot_v3.3-stable_linux_headless.64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/3.3/Godot_v3.3-stable_export_templates.tpz
relative_project_path: ./
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }}
- uses: actions/[email protected]
with:
name: mazerator-linux64
path: /home/runner/.local/share/godot/builds/linux64
- uses: actions/[email protected]
with:
name: mazerator-mac
path: /home/runner/.local/share/godot/builds/macos/intelMac.zip
- uses: actions/[email protected]
with:
name: mazerator-win64
path: /home/runner/.local/share/godot/builds/win64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
create_inno:
needs: export_game
runs-on: windows-latest
name: Create Inno Setup Installers
steps:
- name: Install Inno Setup
id: install_inno
run: |
Invoke-WebRequest https://files.jrsoftware.org/is/6/innosetup-6.2.0.exe -OutFile inno.exe
dir
D:\a\Mazerator\Mazerator\inno.exe /SILENT
- name: Download win64 build from previous job
id: download_win64
uses: actions/[email protected]
with:
name: mazerator-win64
- name: Move files into folder
id: extract
run: |
New-Item win64 -Type Directory
Move-Item -Path hterrain_native.dll -Destination win64/hterrain_native.dll
Move-Item -Path win64.exe -Destination win64/win64.exe
dir C:/Users/
dir "C:/Program Files"
dir "C:/Program Files (x86)"