I may not be smart but I am tough #25
Workflow file for this run
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
name: Run PowerShell script | |
on: | |
push: | |
pull_request: | |
jobs: | |
run_powershell_script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install PowerShell | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y powershell | |
- name: Run PowerShell script | |
shell: pwsh | |
run: | | |
# Replace 'path/to/your/script.ps1' with the actual path to your PowerShell script | |
./combineMarkdown.ps1 | |
- name: Build PDF | |
uses: baileyjm02/markdown-to-pdf@v1 | |
with: | |
input_dir: ./.github/workflows/ | |
#image_import: images | |
output_dir: pdfs | |
# Default is true, can set to false to only get PDF files | |
build_html: true | |
- name: Upload-Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pages | |
path: pdfs |