mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +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:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
|
||||
- name: Prepare
|
||||
id: prepare
|
||||
@ -84,6 +87,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v4
|
||||
@ -132,6 +138,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
|
||||
- name: Restore Cache dependencies
|
||||
uses: actions/cache/restore@v4
|
||||
@ -190,6 +199,8 @@ jobs:
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# ref: ${{ github.event.pull_request.head.sha }}
|
||||
#
|
||||
# - name: Download build artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
|
Loading…
Reference in New Issue
Block a user