ci: compress all the thing #26
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 | ||
config-upload: | ||
name: Upload Item Models | ||
uses: ./.github/workflows/resuable_item-models.yml | ||
Check failure on line 38 in .github/workflows/Push-BetaRes.yml GitHub Actions / .github/workflows/Push-BetaRes.ymlInvalid workflow file
|
||
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 }} |