mirror of
https://github.com/ViaVersion/Mappings.git
synced 2025-02-10 00:42:09 +01:00
Fix workflow
This commit is contained in:
parent
e7a4ace020
commit
d039e334d7
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -10,6 +10,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
@ -25,11 +28,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- name: Configure Git details
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'not quite kenny'
|
|
||||||
git config --global user.email 'notactuallykennytv2@something.com'
|
|
||||||
|
|
||||||
- name: Check for snapshot
|
- name: Check for snapshot
|
||||||
run: pip install -r requirements.txt && python download_server.py
|
run: pip install -r requirements.txt && python download_server.py
|
||||||
|
|
||||||
@ -61,6 +59,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
run: |
|
run: |
|
||||||
|
git config --local user.email "action@github.com"
|
||||||
|
git config --local user.name "automation"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "${{ steps.last_snapshot.outputs.content }}"
|
git commit -am "Update: ${{ steps.last_snapshot.outputs.content }}"
|
||||||
git push
|
|
||||||
|
- name: Push changes
|
||||||
|
uses: ad-m/github-push-action@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.TOKEN }}
|
||||||
|
branch: ${{ github.ref }}
|
Loading…
Reference in New Issue
Block a user