Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
updated artifact creation
  • Loading branch information
bunty95 authored Jul 18, 2024
1 parent c0b2093 commit eafbe40
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ jobs:
echo "Attach staple"
xcrun stapler staple "/Users/runner/work/dlt-viewer/dlt-viewer/build/install/DLTViewer.app"
- name: Artifact Creation
run: |
rm -r /Users/runner/work/dlt-viewer/dlt-viewer/build/install/DLTViewer.zip
cd /Users/runner/work/dlt-viewer/dlt-viewer/build
mkdir -p dist
cp ../scripts/darwin/install.md dist
tar -czvf "dist/DLTViewer.tgz" -C /Users/runner/work/dlt-viewer/dlt-viewer/build/install .
- name: Archive artifact
run: zip DLT-macOS-intel.zip -r build/dist
- name: Upload DLT artifact
Expand Down Expand Up @@ -170,6 +177,13 @@ jobs:
echo "Attach staple"
xcrun stapler staple "/Users/runner/work/dlt-viewer/dlt-viewer/build/install/DLTViewer.app"
- name: Artifact Creation
run: |
rm -r /Users/runner/work/dlt-viewer/dlt-viewer/build/install/DLTViewer.zip
cd /Users/runner/work/dlt-viewer/dlt-viewer/build
mkdir -p dist
cp ../scripts/darwin/install.md dist
tar -czvf "dist/DLTViewer.tgz" -C /Users/runner/work/dlt-viewer/dlt-viewer/build/install .
- name: Archive artifact
run: zip DLT-macOS-arm64.zip -r build/dist
- name: Upload DLT artifact
Expand Down

0 comments on commit eafbe40

Please sign in to comment.