mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-05 18:30:22 -08:00
Trigger BE builds before tests
This commit is contained in:
parent
7a93c21d10
commit
8128542a1f
1 changed files with 6 additions and 6 deletions
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…
Add table
Add a link
Reference in a new issue