mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
ci: fix, in github actions CI, we don't actually check out the PR, but the base
This commit is contained in:
parent
8c106bb9ce
commit
fb92a8ef7b
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -22,6 +22,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
id: prepare
|
id: prepare
|
||||||
@ -84,6 +87,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@ -132,6 +138,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
|
|
||||||
- name: Restore Cache dependencies
|
- name: Restore Cache dependencies
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
@ -190,6 +199,8 @@ jobs:
|
|||||||
# steps:
|
# steps:
|
||||||
# - name: Checkout code
|
# - name: Checkout code
|
||||||
# uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
# with:
|
||||||
|
# ref: ${{ github.event.pull_request.head.sha }}
|
||||||
#
|
#
|
||||||
# - name: Download build artifacts
|
# - name: Download build artifacts
|
||||||
# uses: actions/download-artifact@v4
|
# uses: actions/download-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user