Update entity_model_features #581
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: Package Modpack | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
workflow_dispatch: | |
jobs: | |
Package-Modpack: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git config user.email "${{ github.actor }}@users.noreply.github.com" | |
if: ${{ github.repository_owner != 'github-actions' }} | |
- run: git config user.name "${{ github.actor }}" | |
if: ${{ github.repository_owner != 'github-actions' }} | |
- name: Get short SHA | |
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV | |
- name: Append short SHA to file content | |
run: | | |
sed -i "s/\(commitid\)/${{ env.SHORT_SHA }}/g" modrinth.index.json | |
sed -i "s/\(commitid\)/${{ env.SHORT_SHA }}/g" ./overrides/config/modpack-update-checker/config.json | |
- name: Package Modpack | |
run: | | |
rm -rf .github | |
rm -rf .git | |
rm README.md | |
zip -r "./MineOptimiz.zip" ./* | |
mv MineOptimiz.zip "MineOptimiz v3.211.1-neoforge+${{ env.SHORT_SHA }}.mrpack" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: MineOptimiz v3.211.1-neoforge+${{ env.SHORT_SHA }}.zip | |
path: "./MineOptimiz v3.211.1-neoforge+${{ env.SHORT_SHA }}.mrpack" | |