2023-11-30 13:10:11 +00:00
|
|
|
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'
|
2023-12-28 07:42:20 +00:00
|
|
|
message: ':sparkles: Update resources'
|
2024-04-28 10:20:54 +00:00
|
|
|
fetch: false
|