Skip to content

Commit ed43c72

Browse files
committed
GitHub Action to build pack artifacts
1 parent 3faed11 commit ed43c72

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.github/ISSUE_TEMPLATE/mod_support.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Mod Support
3+
about: Compatibility improvements with a specific mod
4+
title: 'MOD NAME HERE (url here)'
5+
labels: mod support
6+
assignees: ''
7+
8+
---

.github/workflows/assemble.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Execute Python Script
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- name: Checkout Repository
10+
uses: actions/checkout@v4
11+
- name: Set current date as env variable
12+
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
13+
- name: Set up Python 3.10
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: "3.10"
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pillow
21+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
22+
- name: Execute Python Script
23+
run: python gen-pack.py ${{ env.DATE }}-${{ github.repository_owner }}
24+
- name: Upload artifacts to GitHub
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: Better Leaves Lite Artifact
28+
path: Better-Leaves-Lite-${{ env.DATE }}-${{ github.repository_owner }}.zip

Better-Leaves-Lite-1.0.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)