Skip to content

Commit 8605f76

Browse files
committed
print files
1 parent 7d7bb37 commit 8605f76

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.github/workflows/geometry-mechanical-dpf.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ jobs:
184184
xvfb-run mechanical-env python geometry-mechanical-dpf/wf_gmd_02_mechanical.py > pymechlogs${{ matrix.ansys-release }}.txt 2>&1 || true
185185
cat pymechlogs${{ matrix.ansys-release }}.txt
186186
187+
- name: List all files including hidden ones
188+
run: |
189+
echo "Listing all files (including hidden) under geometry-mechanical-dpf/outputs"
190+
find geometry-mechanical-dpf/outputs -print
191+
echo "Detailed file listing:"
192+
find geometry-mechanical-dpf/outputs -type f -exec ls -lah {} +
193+
187194
- name: Store the outputs
188195
uses: actions/upload-artifact@v4
189196
with:
@@ -241,8 +248,8 @@ jobs:
241248

242249
- name: Update dependencies
243250
run: |
244-
apt update
245-
apt install -y xvfb git curl make
251+
sudo apt update
252+
sudo apt install -y xvfb git curl make
246253
247254
- name: Checkout code
248255
uses: actions/[email protected]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ansys-geometry-core[all]==0.7.6
2-
ansys-mechanical-core==0.11.7
3-
ansys-dpf-core[plotting]==0.12.2
2+
ansys-mechanical-core==0.11.34
3+
ansys-dpf-core[plotting]==0.14.2
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
ansys-geometry-core[all]==0.7.6
22
ansys-mechanical-core==0.11.34
3-
ansys-dpf-core[plotting]==0.12.2
3+
ansys-dpf-core[plotting]==0.14.2
4+

geometry-mechanical-dpf/wf_gmd_02_mechanical.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,5 @@ def display_image(image_name):
224224
# Mechanical file (mechdb) contains results for each analysis
225225
#
226226
app.save(os.path.join(OUTPUT_DIR, "pcb.mechdb"))
227+
print(f"Mechanical file saved to: {OUTPUT_DIR / 'pcb.mechdb'}")
227228
app.close()

0 commit comments

Comments
 (0)