Update pack version for 1.20+ #5
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@v3 | |
with: | |
fetch-depth: 0 # A non-shallow repository clone is required | |
- name: Run PackSquash | |
uses: ComunidadAylas/PackSquash-action@v3 | |
- name: Download optimized pack | |
uses: actions/download-artifact@v3 | |
with: | |
name: Optimized pack | |
- name: Rename pack file | |
run: mv pack.zip MinebenchRP.zip | |
- name: Tag and create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: action-v${{ github.run_number }} | |
files: MinebenchRP.zip |