Skip to content

chore(deps): update actions/setup-node digest to 0a44ba7 #760

chore(deps): update actions/setup-node digest to 0a44ba7

chore(deps): update actions/setup-node digest to 0a44ba7 #760

name: Test - Pack in submodule
on:
push:
pull_request:
types:
- opened
- synchronize
jobs:
test:
runs-on: ubuntu-latest
# Exclude in-repo PRs from running this job
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
steps:
- name: Clone action repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
path: action
- name: Set up empty Git repository with public pack submodules
uses: ./action/.github/workflows/actions/set_up_repo_with_submodules
- name: Modify pack files (test that working directory changes are handled well)
run: |
touch golden-days/golden-days-base/assets/minecraft/sounds.json
mv golden-days/golden-days-base/credits.txt golden-days/golden-days-base/credits_new.txt
rm golden-days/golden-days-base/assets/minecraft/optifine/color.properties
- name: Run PackSquash
uses: ./action
with:
packsquash_version: latest
options: |
pack_directory = 'golden-days/golden-days-base'
['**/*.png']
maximum_width_and_height = 65535