Skip to content

Commit

Permalink
update packsquash.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed Mar 17, 2024
1 parent 72fd552 commit 2279c12
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/packsquash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Optimize resource pack
on:
push:
tags:
- '**'
- "**"
jobs:
packsquash:
name: Optimize resource pack
packsquash-waepack:
name: Optimize waepack
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand All @@ -19,13 +19,26 @@ jobs:
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:
Expand Down

0 comments on commit 2279c12

Please sign in to comment.