Skip to content

Add 1.45 translations #112

Add 1.45 translations

Add 1.45 translations #112

Workflow file for this run

name: Push/PR Check
on:
push:
branches:
- master
paths:
- "**/Dialog/*"
- "**/Manual/*"
- "**/Menu/*"
- "**/Module/*"
- "**/Other/*"
- "**/StringTable/*"
- "**/System/*"
- "**/VersionInfo/*"
- "**/240/*"
- ".github/workflows/*"
- "_script/*"
pull_request:
branches:
- master
paths:
- "**/Dialog/*"
- "**/Manual/*"
- "**/Menu/*"
- "**/Module/*"
- "**/Other/*"
- "**/StringTable/*"
- "**/System/*"
- "**/VersionInfo/*"
- "**/240/*"
- ".github/workflows/*"
- "_script/*"
jobs:
deploy:
name: Deployment
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
# - uses: Vampire/setup-wsl@v3
# with:
# additional-packages: p7zip-full jq python3.10
# wsl-conf: |
# [automount]
# enabled=true
# root=/mnt/
# - name: Calculate depth
# id: depth
# run: |
# echo DEPTH=$(($(echo '${{toJSON(github.event.commits)}}' | jq '. | length') + 1))
# echo ::set-output name=DEPTH::$(($(echo '${{toJSON(github.event.commits)}}' | jq '. | length') + 1))
- name: Checkout code
uses: actions/checkout@v4
# with:
# fetch-depth: ${{steps.depth.outputs.DEPTH}}
# - name: Check changes
# run: |
# git diff --name-only $(echo ${{github.event.compare}} | grep -oE '([a-z0-9]+\.\.\.[a-z0-9]+)')
# if ! git diff --name-only $(echo ${{github.event.compare}} | grep -oE '([a-z0-9]+\.\.\.[a-z0-9]+)') | grep -E '^((Dialog)|(Manual)|(Menu)|(Module)|(Other)|(StringTable)|(System)|(VersionInfo)|(240)\/)'; then
# echo "No files translated. Stopping!"
# exit 1
# else
# echo "Some files translated. Continuing."
# fi
- name: Install required packages
shell: cmd
run: choco install reshack
- name: Build
id: build
run: |
cd _script
pwd
bash workflow/build-all-artifact.sh
# - name: Upload artifact (v1.43)
# uses: actions/upload-artifact@v4
# with:
# name: Domino143_Translated_v${{steps.build.outputs.VERSION_NUM}}-artifact.${{steps.build.outputs.BUILD_DATE}}
# path: _script/dist/Domino143_Translated/
# - name: Upload artifact (v1.44)
# uses: actions/upload-artifact@v4
# with:
# name: Domino144_Translated_v${{steps.build.outputs.VERSION_NUM}}-artifact.${{steps.build.outputs.BUILD_DATE}}
# path: _script/dist/Domino144_Translated/
# - name: Upload artifact (v1.45, 32-bit)
# uses: actions/upload-artifact@v4
# with:
# name: Domino145_dev007_x86_Translated_v${{steps.build.outputs.VERSION_NUM}}-artifact.${{steps.build.outputs.BUILD_DATE}}
# path: _script/dist/Domino145_dev007_x86_Translated/
# - name: Upload artifact (v1.45, 64-bit)
# uses: actions/upload-artifact@v4
# with:
# name: Domino145_dev007_x64_Translated_v${{steps.build.outputs.VERSION_NUM}}-artifact.${{steps.build.outputs.BUILD_DATE}}
# path: _script/dist/Domino145_dev007_x64_Translated/