File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 69
69
id : services
70
70
run : |
71
71
docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-stable }} > ${{ matrix.container-stable }}.json
72
- docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-unstable }} > ${{ matrix.container-unstable }}.json || "" > ${{ matrix.container-unstable }}.json
72
+ docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-unstable }} > ${{ matrix.container-unstable }}.json || true
73
+
74
+ # Verify that the unstable manifest exists - otherwise create an empty file
75
+ if [ ! -f ${{ matrix.container-unstable }}.json ]; then
76
+ touch ${{ matrix.container-unstable }}.json
77
+ fi
78
+
73
79
74
80
# Check if the manifests are the same (and if so, create an output that will skip the next job)
75
81
if diff ${{ matrix.container-stable }}.json ${{ matrix.container-unstable }}.json; then
You can’t perform that action at this time.
0 commit comments