Skip to content

Commit 12f4ddc

Browse files
committed
Less noise in MacOS artifact
1 parent 846c219 commit 12f4ddc

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/BuildPR.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
uses: actions/upload-artifact@v4
103103
if: ${{ success() }}
104104
with:
105-
name: DLTViewer-${{ matrix.macos }}-${{ matrix.abi }}
106-
path: build/dist/DLTViewer*.tgz
107-
105+
name: DLTViewer-MacOS-${{ matrix.abi }}
106+
path: |
107+
build/install/DLTViewer.*
108108
109109
buildLinux:
110110
name: Build ${{ matrix.ubuntu }}

.github/workflows/Release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build project
3737
run: scripts/darwin/build.sh
3838
- name: Archive artifact
39-
run: zip DLT-macOS-${{ matrix.abi }}.zip -r build/dist
39+
run: zip DLT-macOS-${{ matrix.abi }}.zip -r build/install -i 'DLTViewer*'
4040
- name: Upload DLT artifact
4141
uses: actions/upload-artifact@v4
4242
with:
@@ -118,12 +118,14 @@ jobs:
118118
uses: actions/download-artifact@v4
119119
with:
120120
name: DLT-Linux
121-
- name: Download DLT macOS artifacts
121+
- name: Download DLT macOS artifacts arm64
122122
uses: actions/download-artifact@v4
123123
with:
124-
name: |
125-
DLT-Mac-x86
126-
DLT-Mac-arm64
124+
name: DLT-Mac-arm64
125+
- name: Download DLT macOS artifacts x86
126+
uses: actions/download-artifact@v4
127+
with:
128+
name: DLT-Mac-x86
127129
- name: Download DLT Windows parser artifacts
128130
uses: actions/download-artifact@v4
129131
with:

scripts/darwin/build.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ cd "${BUILD_DIR}"
6666
FULL_VERSION=$(cat "${BUILD_DIR}/full_version.txt")
6767
echo "FULL_VERSION=${FULL_VERSION}"
6868

69-
mkdir -p dist
70-
cp ../scripts/darwin/install.md dist
71-
tar -czvf "dist/DLTViewer-${FULL_VERSION}.tgz" -C ${INSTALL_DIR} .
69+
echo "Artifacts are here"
70+
ls ${INSTALL_DIR}
71+
find . -name "DLTViewer*.dmg"
72+
find . -name "DLTViewer.*"
73+
#
74+
#mkdir -p dist
75+
#cp ../scripts/darwin/install.md dist
76+
#tar -czvf "dist/DLTViewer-${FULL_VERSION}.tgz" -C "${INSTALL_DIR}" .

0 commit comments

Comments
 (0)