-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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: | ||
|
@@ -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 | ||