mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:34:03 +07:00
Trigger BE builds before tests
This commit is contained in:
parent
7a93c21d10
commit
8128542a1f
12
.github/workflows/push.yml
vendored
12
.github/workflows/push.yml
vendored
@ -8,12 +8,6 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Run unit tests
|
||||
run: ./gradlew clean cleanTest test
|
||||
- name: Trigger BE build
|
||||
if: ${{ github.repository == 'Anuken/Mindustry' }}
|
||||
run: |
|
||||
@ -23,3 +17,9 @@ jobs:
|
||||
git tag ${BNUM}
|
||||
git config --global user.name "Build Uploader"
|
||||
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryBuilds ${BNUM}
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Run unit tests
|
||||
run: ./gradlew clean cleanTest test
|
||||
|
Loading…
Reference in New Issue
Block a user