主世界矿石基本完成 #44
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: Build Mod Pack | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
BUILD_NUM: ${{ github.run_number }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install python deps | |
run: pip install toml requests | |
- 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/** |