mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
fix: clone full history on GitHub Actions build job, track develop
This commit is contained in:
parent
d23b6614e8
commit
d463d7d397
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -140,6 +140,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Restore depends cache
|
||||
uses: actions/cache/restore@v4
|
||||
@ -167,7 +168,11 @@ jobs:
|
||||
|
||||
- name: Build source and run tests
|
||||
run: |
|
||||
git config --global --add advice.detachedHead false
|
||||
git config --global --add safe.directory "$PWD"
|
||||
GIT_HEAD="$(git rev-parse HEAD)"
|
||||
git checkout develop
|
||||
git checkout ${GIT_HEAD}
|
||||
CCACHE_SIZE="400M"
|
||||
CACHE_DIR="/cache"
|
||||
mkdir /output
|
||||
|
Loading…
Reference in New Issue
Block a user