name: Build renameable item readme on: push: tags: - "v*" jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install Python renderer dependencies run: python -m pip install pillow - name: Build readme run: python build/scripts/build_readme.py --pack-root resourcepack --output-dir build --copy-renders - name: Render model previews run: python build/scripts/render_client_items.py --manifest build/renameable-items.json --pack-root resourcepack --output-dir build - name: Publish generated catalog artifacts uses: actions/upload-artifact@v3 with: name: renameable-item-catalog path: | build README.md