mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
* Generate conan profile in CI * Move linux build into main workflow * Add saving/restoring conan data * Move cache to Linux * Fix error * Change key to hash from conanfile * Fix path error * Populate cache only in develop branch * Big refactor - Move duplicated code to actions - Isolate mac build from home directory - Separate ccache and conan caches * Fix errors * Change ccache cache name and fix errors * Always populate cache * Use newer ccache on Linux * Strip tests * Better conan hash
15 lines
400 B
YAML
15 lines
400 B
YAML
name: Git common ancestor
|
|
description: Find the closest common commit
|
|
outputs:
|
|
commit:
|
|
description: Hash of commit
|
|
value: ${{ steps.find_common_ancestor.outputs.commit }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Find common git ancestor
|
|
id: find_common_ancestor
|
|
shell: bash
|
|
run: |
|
|
echo "commit=$(git merge-base --fork-point origin/develop)" >> $GITHUB_OUTPUT
|