build: Release build automation ([#7776]). #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# https://docs.corelightning.org/docs/repro | |
name: "Release 🚀" | |
on: | |
push: | |
# TODO: Remove after testing. | |
branches: | |
- 7776-release-builds-automation | |
tags: | |
- 'v[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+[0-9a-z]+' | |
workflow_dispatch: | |
jobs: | |
ubuntu-noble: | |
name: Release | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
# tools/build-release.sh requires lowdown | |
- name: Prepare base environment | |
run: | | |
sudo apt-get install -y lowdown | |
./configure | |
- name: Build environment setup | |
run: contrib/cl-repro.sh | |
- name: Build release | |
# TODO: Remove forced version after testing. | |
run: FORCE_VERSION="24.08.2" tools/build-release.sh bin-Fedora-28-amd64 bin-Ubuntu sign | |
- name: List release directory | |
run: ls -alh release/ |