Testing - Table #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Optimize resource pack | |
on: [push] | |
jobs: | |
packsquash: | |
name: Optimize resource pack | |
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 | |
uses: ComunidadAylas/PackSquash-action@v4 | |
with: | |
packsquash_version: latest | |
options: | | |
pack_directory = 'CMC-Resource-Pack' | |
output_file_path = '/tmp/CMC-Resource-Pack.zip' | |
- name: Tag and create release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: action-v${{ github.run_number }} | |
files: /tmp/CMC-Resource-Pack.zip | |
token: ${{ secrets.GITHUB_TOKEN }} |