Make suggested changes and remove unnecessary package

This commit is contained in:
FlexBy420 2025-03-08 00:35:16 +01:00 committed by Megamouse
parent cce43beeae
commit 100454398c

View file

@ -15,18 +15,16 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@main uses: actions/checkout@main
with:
fetch-depth: 0
- name: Install Qt Tools - name: Install Qt Tools
run: | run: |
sudo apt-get update sudo apt update
sudo apt-get install -y qt6-tools-dev qt6-l10n-tools sudo apt install -y qt6-l10n-tools
- name: Generate .ts file using lupdate (Qt) - name: Generate .ts file using lupdate (Qt)
working-directory: rpcs3
run: | run: |
mkdir -p translations mkdir -p ../translations
cd rpcs3 # Change to the rpcs3 directory
LUPDATE_PATH=$(find /usr -name lupdate -type f 2>/dev/null | head -n 1) LUPDATE_PATH=$(find /usr -name lupdate -type f 2>/dev/null | head -n 1)
if [ -z "$LUPDATE_PATH" ]; then if [ -z "$LUPDATE_PATH" ]; then
echo "Error: lupdate not found!" echo "Error: lupdate not found!"