Skip to content

Adding Mnenkov's 40 pack (#9) #54

Adding Mnenkov's 40 pack (#9)

Adding Mnenkov's 40 pack (#9) #54

Workflow file for this run

name: "Check"
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: "Setup Python"
uses: "actions/setup-python@v5"
with:
python-version: 3.11.9
- name: "Checkout code"
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha }}
- name: "Check packs format"
run: |
make check
- name: "Prepare deterministic diff"
run: |
gunzip --keep -- */download/*.tar.gz
git rm -- */download/*.tar.gz
git add -- */download/*.tar
- name: "Repack everything"
run: |
make repack
- name: "Upload artifacts to GitHub"
uses: actions/upload-artifact@v4
with:
path: |
*/download
- name: "Check deterministic diff"
run: |
gunzip -- */download/*.tar.gz
git add --intent-to-add -- */download/*.tar
git diff --exit-code -- */download/*.tar
- name: "Trigger reindex"
env:
INDEXER_URL: ${{ secrets.INDEXER_URL }}
if: ${{ env.INDEXER_URL != '' && github.ref_name == 'dev' }}
run: |
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \
"${{ secrets.INDEXER_URL }}"/asset-packs/reindex;