Skip to content

chore: Update contributor and improve workflow #29

chore: Update contributor and improve workflow

chore: Update contributor and improve workflow #29

Workflow file for this run

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
config-upload:
name: Upload Item Models
uses: ./.github/workflows/resuable_configs.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
res-publish-modrinth:
name: Publish Modrinth Beta
needs: [ config-upload, ia-cleaner ]
uses: ./.github/workflows/resuable_release_modrinth.yml
secrets:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}