-
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
21 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -38,18 +38,38 @@ jobs: | |
- name: Build | ||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | ||
|
||
- name: Install md-to-pdf | ||
run: npm install -g md-to-pdf | ||
|
||
- name: Install Ghostscript | ||
run: choco install ghostscript --yes | ||
|
||
- name: Convert README.md to PDF | ||
run: md-to-pdf README.md | ||
|
||
- name: Convert PDF to JPG | ||
run: | | ||
magick README.pdf README-%d.jpg | ||
magick README-*.jpg -append README_combined.jpg | ||
- name: Compress artifacts | ||
uses: vimtor/[email protected] | ||
with: | ||
files: output/drivers/ README.md LICENSE | ||
dest: "output/${{github.event.repository.name}}.zip" | ||
|
||
- name: Upload artifacts | ||
- name: Upload zip artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "VRto3D-${{env.CommitHashShort}}" | ||
path: output/${{github.event.repository.name}}.zip | ||
|
||
- name: Upload README image artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "README-${{env.CommitHashShort}}.jpg" | ||
path: README_combined.jpg | ||
|
||
- name: GitHub pre-release | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
|