main-macos.yml add Prepare archive and Upload archive steps

This commit is contained in:
Darryl L. Miles
2024-12-26 12:52:26 -05:00
committed by Tim Edwards
parent ecba1b38d2
commit a3a40bee73
+36
View File
@@ -194,6 +194,24 @@ jobs:
grep DCAD_DIR MAKE.LOG | tail -n1
) >> $GITHUB_STEP_SUMMARY
- name: Prepare archive
run: |
mkdir -p dist
make install "DESTDIR=$(pwd)/dist"
# Diagnostic details about this build
mkdir -p dist/BUILD-INFO
set +e
cp */config.log dist/BUILD-INFO/
cp *.mak dist/BUILD-INFO/
cp *.LOG dist/BUILD-INFO/
- name: Upload archive magic-macos12
uses: actions/upload-artifact@v4
with:
name: magic-macos12
path: |
${{ github.workspace }}/dist
simple_build_macos:
runs-on: macos-latest
steps:
@@ -377,3 +395,21 @@ jobs:
echo ""
grep DCAD_DIR MAKE.LOG | tail -n1
) >> $GITHUB_STEP_SUMMARY
- name: Prepare archive
run: |
mkdir -p dist
make install "DESTDIR=$(pwd)/dist"
# Diagnostic details about this build
mkdir -p dist/BUILD-INFO
set +e
cp */config.log dist/BUILD-INFO/
cp *.mak dist/BUILD-INFO/
cp *.LOG dist/BUILD-INFO/
- name: Upload archive magic-macos
uses: actions/upload-artifact@v4
with:
name: magic-macos
path: |
${{ github.workspace }}/dist