File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Create Ubuntu and Window Releases
22
3- on :
3+ on :
44 push :
55 tags :
66 - ' *'
7-
7+
88 workflow_dispatch :
99jobs :
1010 build-linux :
1414 - uses : actions/checkout@v2
1515 with :
1616 submodules : ' true'
17+
18+ - name : Extract release notes
19+ id : release_notes
20+ run : |
21+ TAG="${GITHUB_REF_NAME}"
22+ NOTES=$(awk -v ver="$TAG" '
23+ /^[0-9]{4}\.[0-9]{2}/ { if (found) exit; if ($1 == ver) found=1 }
24+ found { print }
25+ ' README.txt)
26+ {
27+ echo "notes<<RELEASE_NOTES_EOF"
28+ echo "$NOTES"
29+ echo "RELEASE_NOTES_EOF"
30+ } >> "$GITHUB_OUTPUT"
31+
1732 - run : docker pull ghcr.io/xlightssequencer/xlights-build-docker:master
1833 - run : docker run --name buildvm ghcr.io/xlightssequencer/xlights-build-docker:master /bin/bash Recipe.appimage
1934 - run : ' docker cp buildvm:/xLights/xLights/AppImage/ /tmp/'
2338 with :
2439 allowUpdates : true
2540 artifacts : " /tmp/AppImage/*.AppImage"
41+ body : ${{ steps.release_notes.outputs.notes }}
2642 token : ${{ secrets.GITHUB_TOKEN }}
27-
43+
2844 build-windows :
2945 runs-on : windows-2022
3046
4359 version : 1.30.0
4460
4561 - name : Download wxWidgets
46- run :
62+ run :
4763 git clone --depth=1 --shallow-submodules --recurse-submodules -b xlights_2026.04 https://github.com/xLightsSequencer/wxWidgets ..\wxWidgets\
4864
4965 - name : Build wxWidgets
@@ -58,10 +74,11 @@ jobs:
5874 - name : Build Installer
5975 working-directory : build_scripts\msw
6076 run : ISCC.exe xLights_4_64bit_VS.iss
61-
77+
6278 - uses : ncipollo/release-action@v1
6379 with :
6480 allowUpdates : true
81+ omitBodyDuringUpdate : true
6582 artifacts : ' build_scripts\msw\output\*'
6683 token : ${{ secrets.GITHUB_TOKEN }}
6784
You can’t perform that action at this time.
0 commit comments