mirror of
https://github.com/PaiGramTeam/PaiGramMetadata.git
synced 2024-11-16 04:35:31 +00:00
37 lines
830 B
YAML
37 lines
830 B
YAML
name: python build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
workflow_dispatch: ~
|
|
|
|
jobs:
|
|
Python-Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@master
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.11
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
python -m pip install -r gcsim/requirements.txt
|
|
|
|
- name: Check GCSIM scripts
|
|
run: |
|
|
python gcsim/main.py
|
|
|
|
- name: Commit changes
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
author_name: github-actions[bot]
|
|
author_email: github-actions[bot]@users.noreply.github.com
|
|
push: 'origin remote --force'
|
|
new_branch: 'remote'
|
|
message: ':sparkles: Update resources'
|