File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 out-file-path : " MFA"
8383 extract : true
8484
85+ - name : Clean up MFAAvalonia archive
86+ if : matrix.os != 'android'
87+ shell : bash
88+ run : |
89+ OS_NAME=""
90+ if [[ "${{ matrix.os }}" == "win" ]]; then
91+ OS_NAME="win"
92+ elif [[ "${{ matrix.os }}" == "macos" ]]; then
93+ OS_NAME="osx"
94+ elif [[ "${{ matrix.os }}" == "linux" ]]; then
95+ OS_NAME="linux"
96+ fi
97+
98+ ARCH_NAME=""
99+ if [[ "${{ matrix.arch }}" == "x86_64" ]]; then
100+ ARCH_NAME="x64"
101+ elif [[ "${{ matrix.arch }}" == "aarch64" ]]; then
102+ ARCH_NAME="arm64"
103+ fi
104+
105+ if [[ -n "$OS_NAME" && -n "$ARCH_NAME" ]]; then
106+ ARCHIVE_PATTERN="MFAAvalonia-*-${OS_NAME}-${ARCH_NAME}*"
107+ echo "Attempting to remove downloaded archive matching: ${ARCHIVE_PATTERN}"
108+ rm -f ${ARCHIVE_PATTERN}
109+ echo "Archive cleanup command executed for MFAAvalonia."
110+ else
111+ echo "OS or Arch name not determined for this matrix combination, skipping MFAAvalonia archive cleanup."
112+ fi
113+
85114 - name : Install
86115 shell : bash
87116 run : |
You can’t perform that action at this time.
0 commit comments