forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Release build automation ([ElementsProject#7776]).
Changelog-None
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
# 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/ |
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