Skip to content

update packsquash.yml #5

update packsquash.yml

update packsquash.yml #5

Workflow file for this run

name: Optimize resource pack
on:
push:
tags:
- "**"
jobs:
packsquash-waepack:
name: Optimize waepack
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # A non-shallow repository clone is required
- name: Run PackSquash (waepack)
uses: ComunidadAylas/PackSquash-action@v4
with:
packsquash_version: latest
options: |
pack_directory = 'waepack'
output_file_path = '/tmp/waepack-${{ github.ref_name }}.zip'
packsquash-waepack-models:
name: Optimize waepack-models
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # A non-shallow repository clone is required
- name: Run PackSquash (waepack-models)
uses: ComunidadAylas/PackSquash-action@v4
with:
packsquash_version: latest
options: |
pack_directory = 'waepack-models'
output_file_path = '/tmp/waepack-models-${{ github.ref_name }}.zip'
create-release:
name: Create release
needs: [packsquash-waepack, packsquash-waepack-models]
runs-on: ubuntu-latest
steps:
- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
/tmp/waepack-${{ github.ref_name }}.zip
/tmp/waepack-models-${{ github.ref_name }}.zip