Skip to content

Commit

Permalink
Add zipping of profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
oneup03 committed Oct 28, 2024
1 parent 2d78a9d commit d77fc97
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
echo "CurrentDate=$(date +'%Y-%m-%d')" >> $env:GITHUB_ENV
echo "CommitHashShort=$(git rev-parse --short=7 HEAD)" >> $env:GITHUB_ENV
echo "CommitCount=$(git rev-list --count $env:GITHUB_REF_NAME)" >> $env:GITHUB_ENV
echo "CommitCount=$(git rev-list --count $env.GITHUB_REF_NAME)" >> $env:GITHUB_ENV
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
Expand All @@ -52,12 +52,15 @@ jobs:
magick -density 300 README.pdf README-%d.jpg
magick README-*.jpg -append -quality 90 README_combined.jpg
- name: Compress artifacts
- name: Compress main artifacts
uses: vimtor/[email protected]
with:
files: output/drivers/ README.md LICENSE
dest: "output/${{github.event.repository.name}}.zip"

- name: Zip vrto3d_profiles folder
run: Compress-Archive -Path vrto3d_profiles/* -DestinationPath vrto3d_profiles.zip

- name: Upload zip artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -73,4 +76,6 @@ jobs:
title: "[${{env.CurrentDate}}] ${{github.event.repository.name}} r${{env.CommitCount}}@${{env.CommitHashShort}}"
files: |
output/${{github.event.repository.name}}.zip
vrto3d_profiles.zip
README_combined.jpg

0 comments on commit d77fc97

Please sign in to comment.