Skip to content

Commit 03d60e3

Browse files
Add artifact upload to GitHub Actions workflows
Co-Authored-By: Serg Kryvonos <[email protected]>
1 parent 2df9f40 commit 03d60e3

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ jobs:
3030
- name: Check
3131
working-directory: ${{github.workspace}}/build
3232
run: ctest . -j`nproc` -C ${{env.BUILD_TYPE}} --test-dir libskrypt --rerun-failed --output-on-failure
33+
34+
- name: Upload build artifacts
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: skrypt-cmake-build
38+
path: |
39+
${{github.workspace}}/build/bin
40+
${{github.workspace}}/build/lib
41+
retention-days: 7

.github/workflows/vcpkg.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,14 @@ jobs:
8383
- name: Check
8484
working-directory: ${{github.workspace}}/build
8585
run: ctest . -C ${{ matrix.config }} -j ${{steps.cpu-cores.outputs.count}} --test-dir libskrypt --rerun-failed --output-on-failure
86+
87+
- name: Upload build artifacts
88+
uses: actions/upload-artifact@v4
89+
with:
90+
name: skrypt-vcpkg-${{ runner.os }}-${{ matrix.config }}
91+
path: |
92+
${{github.workspace}}/build/bin
93+
${{github.workspace}}/build/lib
94+
${{github.workspace}}/install/bin
95+
${{github.workspace}}/install/lib
96+
retention-days: 7

0 commit comments

Comments
 (0)