Skip to content

Commit

Permalink
CI: read CLN version from CI file instead of release binary
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 authored and chrisguida committed Sep 26, 2024
1 parent cc564b9 commit 60539d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,14 @@ jobs:
| tr -d '\"')
wget $url
sudo tar -xvf ${url##*/} -C /usr/local --strip-components=2
echo "CLN_VERSION=$(lightningd --version)" >> "$GITHUB_OUTPUT"
- name: Checkout Core Lightning ${{ matrix.cln-version }}
if: ${{ steps.cache-cln.outputs.cache-hit != 'true' && (github.event_name == 'push' || steps.set_plugin_dirs.outputs.run_ci == 'true') }}
uses: actions/checkout@v4
with:
repository: 'ElementsProject/lightning'
path: 'lightning'
ref: ${{ steps.cln-install.outputs.CLN_VERSION }}
ref: 'v${{ matrix.cln-version }}'
fetch-depth: 0 # Fetch all history for all branches and tags
submodules: 'recursive'

Expand Down

0 comments on commit 60539d9

Please sign in to comment.