Push Beta Resourcepack #21
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: Push Beta Resourcepack | |
on: | |
workflow_dispatch: | |
inputs: | |
debug: | |
description: 'Enable Debug log generate' | |
required: false | |
default: false | |
type: boolean | |
push: | |
branches: | |
- main | |
paths: | |
- Resourcepack/** | |
jobs: | |
ia-packer: | |
name: IA Packer | |
uses: ./.github/workflows/resuable_ia.yml | |
if: | | |
github.repository == 'xMikux/Slimefun-Resourcepack' | |
with: | |
DEBUG: ${{ inputs.debug || false }} | |
secrets: | |
RCON_PASSWORD: ${{ secrets.RCON_PASSWORD }} | |
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} | |
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }} | |
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} | |
res-packer: | |
name: Slimefun Packer | |
needs: ia-packer | |
uses: ./.github/workflows/resuable_packer.yml | |
yml-item_models: | |
name: Upload Item Models | |
uses: ./.github/workflows/resuable_item-models.yml | |
ia-cleaner: | |
name: Cleanup Artifact | |
needs: res-packer | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Artifact - Delete It! | |
uses: geekyeggo/delete-artifact@v5 | |
with: | |
name: | | |
ia-generatedpack |