Skip to content

Merge branch 'main' of https://github.com/hugovdev/thankmas-resource-… #192

Merge branch 'main' of https://github.com/hugovdev/thankmas-resource-…

Merge branch 'main' of https://github.com/hugovdev/thankmas-resource-… #192

Workflow file for this run

name: Optimize resource pack
on: [push]
jobs:
packsquash:
name: Optimize resource pack
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # A non-shallow repository clone is required
- name: Run PackSquash
uses: ComunidadAylas/PackSquash-action@6ec6c150a25687dd2cbbbb72590a2865d9d53850
with:
packsquash_version: latest
options: |
# Optimize the pack in the root repository directory.
# This is the default value for pack_directory when no PackSquash options are defined
pack_directory = '.'
# Set a custom output file path to work with the generated ZIP file
# without needing to download its artifact in a separate step
output_file_path = '/tmp/thankmas-pack.zip'
- name: Tag and create release
uses: softprops/action-gh-release@v2
with:
tag_name: pack-release-${{ github.run_number }}
files: /tmp/thankmas-pack.zip