Skip to content

Commit 34e3afa

Browse files
committed
updated ex14 workflow
1 parent c1a17c0 commit 34e3afa

2 files changed

Lines changed: 19 additions & 17 deletions

File tree

.github/workflows/GHSpecKitGetStarted_Zip_Code_Ex14.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ on:
33
workflow_dispatch:
44
push:
55
branches:
6-
- 'main'
6+
- '**'
77
paths:
88
- DownloadableCodeProjects/standalone-lab-projects/sdd-get-started-rss-feed/**/*.md
99
pull_request:
1010
branches:
11-
- 'main'
11+
- '**'
1212
paths:
1313
- DownloadableCodeProjects/standalone-lab-projects/sdd-get-started-rss-feed/**/*.md
1414

@@ -25,23 +25,17 @@ jobs:
2525
- name: Create GHSpecKitEx14 Stakeholder Documents zip
2626
run: |
2727
# Ensure Downloads directory exists
28-
mkdir -p ./DownloadableCodeProjects/Downloads
29-
30-
# Change to source directory
31-
cd ./DownloadableCodeProjects/standalone-lab-projects/sdd-get-started-rss-feed
32-
33-
# Check if there are any git-tracked files to zip
34-
if [ -z "$(git ls-files)" ]; then
35-
echo "No git-tracked files found in the source directory"
36-
exit 1
37-
fi
38-
39-
# Remove existing zip file and create new one
40-
rm -f ../../Downloads/GHSpecKitEx14StakeholderDocuments.zip
41-
zip -r -q ../../Downloads/GHSpecKitEx14StakeholderDocuments.zip $(git ls-files)
28+
mkdir -p DownloadableCodeProjects/Downloads
29+
30+
# Remove existing zip file
31+
rm -f DownloadableCodeProjects/Downloads/GHSpecKitEx14StakeholderDocuments.zip
32+
33+
# Create zip containing the entire folder (including StakeholderDocuments)
34+
zip -r -q DownloadableCodeProjects/Downloads/GHSpecKitEx14StakeholderDocuments.zip \
35+
DownloadableCodeProjects/standalone-lab-projects/sdd-get-started-rss-feed
4236
4337
# Verify zip file was created
44-
if [ ! -f ../../Downloads/GHSpecKitEx14StakeholderDocuments.zip ]; then
38+
if [ ! -f DownloadableCodeProjects/Downloads/GHSpecKitEx14StakeholderDocuments.zip ]; then
4539
echo "Failed to create zip file"
4640
exit 1
4741
fi
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The "Get started with spec-driven development and GitHub Spec Kit" module includes a lab exercise for a greenfield RSS/Atom feed reader project. The lab guides you through building a practical application while applying spec-driven development principles. The StakeholderDocuments folder contains key documentation files for the project, including:
2+
3+
- Project Goals.md
4+
- App Features.md
5+
- Tech Stack.md
6+
- MVP System Rules.md
7+
8+
GitHub Spec Kits commands will use these files to help you generate the constitution, spec, plan, and tasks files.

0 commit comments

Comments
 (0)