diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 319472c..eeaeb4a 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -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/setup-msbuild@v1.0.2 @@ -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/action-zip@v1.1 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 + \ No newline at end of file