Skip to content

Commit c0a30ea

Browse files
authored
[gh-actions] Move to actions/checkout@v2 (#2070)
* [gh-actions] Move to actions/checkout@v2 * [gh-actions] Checkout `develop` branch for `rebuild_updated_recipes` Since we make use of `git diff` command at `rebuild_updated_recipes` (against develop branch), we also need to checkout develop branch to success with our script.
1 parent 8740267 commit c0a30ea

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout python-for-android
12-
uses: actions/checkout@v1
12+
uses: actions/checkout@v2
1313
- name: Set up Python 3.7
1414
uses: actions/[email protected]
1515
with:
@@ -30,7 +30,7 @@ jobs:
3030
os: [ubuntu-latest, macOs-latest]
3131
steps:
3232
- name: Checkout python-for-android
33-
uses: actions/checkout@v1
33+
uses: actions/checkout@v2
3434
- name: Set up Python ${{ matrix.python-version }}
3535
uses: actions/[email protected]
3636
with:
@@ -50,7 +50,7 @@ jobs:
5050
build-arch: ['arm64-v8a', 'armeabi-v7a']
5151
steps:
5252
- name: Checkout python-for-android
53-
uses: actions/checkout@v1
53+
uses: actions/checkout@v2
5454
- name: Pull docker image
5555
run: |
5656
make docker/pull
@@ -68,8 +68,12 @@ jobs:
6868
needs: [flake8]
6969
runs-on: ubuntu-latest
7070
steps:
71-
- name: Checkout python-for-android
72-
uses: actions/checkout@v1
71+
- name: Checkout python-for-android (current branch)
72+
uses: actions/checkout@v2
73+
- name: Checkout python-for-android (develop branch)
74+
uses: actions/checkout@v2
75+
with:
76+
ref: 'develop'
7377
- name: Pull docker image
7478
run: |
7579
make docker/pull

0 commit comments

Comments
 (0)