Added actions task to automatically update class mappings
This commit is contained in:
12
.github/workflows/push.yml
vendored
12
.github/workflows/push.yml
vendored
@@ -41,6 +41,18 @@ jobs:
|
|||||||
git commit -m "Automatic bundle update"
|
git commit -m "Automatic bundle update"
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
- name: Update scripts and class mappings
|
||||||
|
if: ${{ github.repository == 'Anuken/Mindustry' }}
|
||||||
|
run: |
|
||||||
|
./gradlew updateScripts
|
||||||
|
|
||||||
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
|
git config --global user.name "Github Actions"
|
||||||
|
git config --global user.email "actions@github.com"
|
||||||
|
git add core/assets/bundles/*
|
||||||
|
git commit -m "Automatic class mapping update"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
- name: Update JITpack repo
|
- name: Update JITpack repo
|
||||||
if: ${{ github.repository == 'Anuken/Mindustry' }}
|
if: ${{ github.repository == 'Anuken/Mindustry' }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=4acbc97ec1
|
archash=e096755fa5
|
||||||
|
|||||||
Reference in New Issue
Block a user