-
Notifications
You must be signed in to change notification settings - Fork 21
50 lines (45 loc) · 1.13 KB
/
Push-BetaRes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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