Skip to content

Commit

Permalink
add windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Naeemkh committed Dec 14, 2023
1 parent 528855b commit ae06ace
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/build_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,33 @@ on:
- main

jobs:
build:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Build
- name: Build on Ubuntu
run: quarto render
- name: Upload artifact
- name: Upload artifact from Ubuntu
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
with:
name: _book
name: _book-ubuntu
path: _book

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Build on Windows
run: quarto render
- name: Upload artifact from Windows
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
with:
name: _book-windows
path: _book


0 comments on commit ae06ace

Please sign in to comment.