Skip to content

Commit 018b687

Browse files
committed
updated release workflow
1 parent 7641b97 commit 018b687

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,32 @@ jobs:
2020
restore-keys: |
2121
${{ runner.os }}-cmake-
2222
23+
# Install the dependencies
2324
- name: Install dependencies
2425
run: |
2526
sudo apt update
2627
sudo apt install -y cmake ocl-icd-opencl-dev opencl-headers libopencv-dev
2728
29+
# Build the applications
2830
- name: Build with CMake
2931
run: |
3032
cd /home/runner/work/OpenCL-Development-Real-time-Image-Processing/OpenCL-Development-Real-time-Image-Processing/
3133
mkdir -p build
3234
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
3335
cd build
3436
make
35-
37+
38+
# Create a tar.gz archive of the build folder
39+
- name: Create tar.gz archive
40+
run: |
41+
tar -czf build.tar.gz -C build .
42+
43+
# Create a zip archive of the build folder
44+
- name: Create zip archive
45+
run: |
46+
zip -r build.zip build/
47+
48+
# Publish the release
3649
- name: Release
3750
uses: softprops/[email protected]
3851
with:

0 commit comments

Comments
 (0)