mirror of
https://github.com/ViaVersion/Mappings.git
synced 2024-11-07 09:49:52 +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
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
@ -25,11 +28,6 @@ jobs:
|
||||
with:
|
||||
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
|
||||
run: pip install -r requirements.txt && python download_server.py
|
||||
|
||||
@ -61,6 +59,13 @@ jobs:
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "automation"
|
||||
git add .
|
||||
git commit -m "${{ steps.last_snapshot.outputs.content }}"
|
||||
git push
|
||||
git commit -am "Update: ${{ steps.last_snapshot.outputs.content }}"
|
||||
|
||||
- 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