-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (41 loc) · 1.02 KB
/
build.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
name: Build Mod Pack
on: push
jobs:
generate:
name: FTB Quest
secrets: inherit
permissions:
contents: write
uses: ./.github/workflows/ftbquest.yml
crowdin:
needs:
- generate
name: Crowdin
secrets: inherit
permissions:
contents: write
uses: ./.github/workflows/crowdin.yml
build:
name: Modpack
needs:
- crowdin
runs-on: ubuntu-latest
env:
BUILD_NUM: ${{ github.run_number }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install python deps
run: pip install -r .github/workflows/scripts/requirements.txt
- name: Build pack
id: build
run: python .github/workflows/scripts/build.py >> "$GITHUB_OUTPUT"
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: ${{ steps.build.outputs.name }}
path: build/**