Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
on:
on:
push:
workflow_dispatch:
inputs:
force_rebuild:
description: 'Force rebuild all labs (ignores cache)'
type: boolean
default: false
repository_dispatch:
types: [homework-update]

Expand All @@ -25,20 +30,21 @@ jobs:
- name: Cache complete homework build
id: cache-homework-build
uses: actions/cache@v4
if: inputs.force_rebuild != true
with:
path: hw
key: homework-complete-${{ steps.homeworks-hash.outputs.hash }}

- name: Clone homeworks repository
if: steps.cache-homework-build.outputs.cache-hit != 'true'
if: steps.cache-homework-build.outputs.cache-hit != 'true' || inputs.force_rebuild == true
run: |
git clone --depth 1 https://github.com/rust-stuco/homeworks.git homeworks-temp

- name: Discover labs
id: set-matrix
run: |
chmod +x .github/scripts/discover-labs.sh
if [ -d "homeworks-temp" ]; then
if [ -d "homeworks-temp" ] || [ "${{ inputs.force_rebuild }}" = "true" ]; then
matrix=$(.github/scripts/discover-labs.sh)
else
# Use empty matrix to skip lab building
Expand Down
4 changes: 2 additions & 2 deletions _data/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@
"hw_name": "PokerLab",
"hw_handout": "/hw/pokerlab/pokerlab.zip",
"hw_writeup": "/hw/pokerlab/doc/pokerlab/index.html",
"hw_released": false,
"hw_released": true,
"hw_ec_name": "SummaryLab",
"hw_ec_handout": "/hw/summarylab/summarylab.zip",
"hw_ec_writeup": "/hw/summarylab/doc/summarylab/index.html",
"hw_ec_released": false,
"hw_ec_released": true,
"details_released": true,
"slides_released": true,
"extras": [
Expand Down
Binary file removed hw/cardlab/cardlab.zip
Binary file not shown.
Empty file removed hw/cardlab/doc/.lock
Empty file.
1 change: 0 additions & 1 deletion hw/cardlab/doc/cardlab/all.html

This file was deleted.

11 changes: 0 additions & 11 deletions hw/cardlab/doc/cardlab/card/struct.Card.html

This file was deleted.

Loading