Skip to content

Commit 966c452

Browse files
authored
FIX: build generic artifacts
FIX: build generic artifacts
2 parents 0a50e9a + 7655f98 commit 966c452

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci_cd.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
path: doc/build/html/
3939

40-
build-test:
40+
tests:
4141
name: Build and Test
4242
runs-on: ${{ matrix.os }}-latest
4343
timeout-minutes: 15
@@ -135,10 +135,19 @@ jobs:
135135
path: dist/
136136
retention-days: 7
137137

138+
build-library:
139+
name: "Build library basic example"
140+
runs-on: ubuntu-latest
141+
needs: [doc-build, tests]
142+
steps:
143+
- uses: pyansys/actions/build-library@v2
144+
with:
145+
library-name: ${{ env.LIBRARY_NAME }}
146+
138147
release:
139148
name: "Release"
140149
runs-on: ubuntu-latest
141-
needs: [doc-build, build-test]
150+
needs: [build-library]
142151
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
143152
steps:
144153
- name: "Release to the private PyPI repository"

0 commit comments

Comments
 (0)