fix: なんかja_jp.jsonにあるkeyの数がen_us.jsonにあるkeyの数より少ないmodが多々あるのでen_us.jso… #32
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 for Linux | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: docker build --no-cache -f ./linux/Dockerfile -t pyinstaller-linux . | |
- name: Run Docker container | |
id: run-container | |
run: | | |
docker run --rm -v $(pwd)/src:/src -v $(pwd)/linux:/linux \ | |
pyinstaller-linux pyinstaller main.py \ | |
--onedir --onefile --clean --console \ | |
--distpath /linux/dist \ | |
--workpath /linux/build \ | |
--specpath /linux | |
- name: Check Artifacts | |
run: ls -R ./linux/dist # This step will help verify if the artifacts are generated correctly | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: minecraft-mod-localizer-linux | |
path: ./linux/dist/main # Make sure this path is correct based on your build script | |