Skip to content

Commit de33006

Browse files
committed
Include CMakeCache.txt files in release
1 parent f1b6f54 commit de33006

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ jobs:
7878
library-path: ${{ matrix.lib_path }}
7979
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
8080

81+
- name: Upload CMake configurations
82+
uses: actions/upload-artifact@v4
83+
with:
84+
name: CMake-configurations-${{ matrix.slug }}-${{ github.sha }}
85+
path: |
86+
CMake_build/libinchi_build/CMakeCache.txt
87+
CMake_build/cli_build/CMakeCache.txt
88+
8189
- name: Collect artifacts
8290
run: |
8391
mkdir -p ${{ env.RELEASE_DIR }}
@@ -126,6 +134,15 @@ jobs:
126134
- name: Package artifacts
127135
run: zip -r release_artifacts.zip release_artifacts
128136

137+
- name: Download CMake configurations
138+
uses: actions/download-artifact@v4
139+
with:
140+
path: cmake_configurations
141+
pattern: CMake-configurations-*
142+
143+
- name: Package CMake configurations
144+
run: zip -r cmake_configurations.zip cmake_configurations
145+
129146
- name: Create release
130147
shell: bash
131148
env:
@@ -136,4 +153,4 @@ jobs:
136153
--verify-tag \
137154
--title "${{ github.ref_name }}" \
138155
--notes "For details about this release have a look at the [CHANGELOG](INCHI-1-DOC/CHANGELOG.md)." \
139-
release_artifacts.zip
156+
release_artifacts.zip cmake_configurations.zip

0 commit comments

Comments
 (0)