1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00

Do not try to push on pull request

This commit is contained in:
Artem Bulgakov 2020-12-24 21:06:29 +03:00
parent 3d4fa5965b
commit 90ef5d4504
3 changed files with 22 additions and 0 deletions

View file

@ -33,6 +33,12 @@ jobs:
workdir: test_app workdir: test_app
buildozer_version: master buildozer_version: master
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -46,4 +52,5 @@ jobs:
architecture: x64 architecture: x64
- name: Push binary to data branch - name: Push binary to data branch
if: github.event_name == 'push'
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin-with-master run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin-with-master

View file

@ -31,6 +31,12 @@ jobs:
workdir: test_app workdir: test_app
buildozer_version: stable buildozer_version: stable
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -44,4 +50,5 @@ jobs:
architecture: x64 architecture: x64
- name: Push binary to data branch - name: Push binary to data branch
if: github.event_name == 'push'
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin

View file

@ -81,6 +81,12 @@ build-android:
workdir: test_app workdir: test_app
buildozer_version: stable buildozer_version: stable
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -94,6 +100,7 @@ build-android:
architecture: x64 architecture: x64
- name: Push binary to data branch - name: Push binary to data branch
if: github.event_name == 'push'
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data
``` ```
</details> </details>
@ -241,6 +248,7 @@ add this to your workflow:
architecture: x64 architecture: x64
- name: Push binary to data branch - name: Push binary to data branch
if: github.event_name == 'push'
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin
``` ```