Fix workflow: Remove GitHub Actions that require Node.js
This commit is contained in:
@@ -11,16 +11,21 @@ jobs:
|
|||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config --global user.name 'LawGit Bot'
|
||||||
|
git config --global user.email 'bot@git.coded.law'
|
||||||
|
git config --global init.defaultBranch main
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone --depth=0 https://git.coded.law/${{ github.repository }}.git .
|
||||||
fetch-depth: 0 # Vollständige Historie für Git-Operationen
|
git remote set-url origin https://git.coded.law/${{ github.repository }}.git
|
||||||
persist-credentials: true # Credentials für Push speichern
|
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
run: |
|
||||||
with:
|
python3 --version
|
||||||
python-version: '3.11'
|
python3 -m pip install --upgrade pip
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -38,12 +43,6 @@ jobs:
|
|||||||
python3 xml_to_markdown.py --prod || echo "Konvertierung fehlgeschlagen oder keine Änderungen"
|
python3 xml_to_markdown.py --prod || echo "Konvertierung fehlgeschlagen oder keine Änderungen"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Configure Git
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'LawGit Bot'
|
|
||||||
git config --global user.email 'bot@git.coded.law'
|
|
||||||
git config --global init.defaultBranch main
|
|
||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
id: check_changes
|
id: check_changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user