-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 961 Bytes
/
assemble.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
name: Execute Python Script
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set current date as env variable
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pillow
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Execute Python Script
run: python gen_pack.py ${{ env.DATE }}-${{ github.repository_owner }} §7Nightly Edition
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v4
with:
name: Better Leaves Lite Artifact
path: Better-Leaves-${{ env.DATE }}-${{ github.repository_owner }}.zip