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:
parent
3d4fa5965b
commit
90ef5d4504
3 changed files with 22 additions and 0 deletions
7
.github/workflows/build-master-buildozer.yml
vendored
7
.github/workflows/build-master-buildozer.yml
vendored
|
@ -33,6 +33,12 @@ jobs:
|
|||
workdir: test_app
|
||||
buildozer_version: master
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: package
|
||||
path: ${{ steps.buildozer.outputs.filename }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -46,4 +52,5 @@ jobs:
|
|||
architecture: x64
|
||||
|
||||
- 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
|
||||
|
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -31,6 +31,12 @@ jobs:
|
|||
workdir: test_app
|
||||
buildozer_version: stable
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: package
|
||||
path: ${{ steps.buildozer.outputs.filename }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -44,4 +50,5 @@ jobs:
|
|||
architecture: x64
|
||||
|
||||
- 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
|
||||
|
|
|
@ -81,6 +81,12 @@ build-android:
|
|||
workdir: test_app
|
||||
buildozer_version: stable
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: package
|
||||
path: ${{ steps.buildozer.outputs.filename }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -94,6 +100,7 @@ build-android:
|
|||
architecture: x64
|
||||
|
||||
- name: Push binary to data branch
|
||||
if: github.event_name == 'push'
|
||||
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data
|
||||
```
|
||||
</details>
|
||||
|
@ -241,6 +248,7 @@ add this to your workflow:
|
|||
architecture: x64
|
||||
|
||||
- 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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue