2828# This workflow is useful for automatically packaging and versioning sample applications whenever changes
2929# are made to them.
3030#
31- name : CreateGHCopilotEx8SamplesZip
31+ name : CreateGHCopilotEx9SamplesZip
3232on :
3333 workflow_dispatch :
3434 push :
3535 branches :
3636 - ' main'
3737 paths :
38- - DownloadableCodeProjects/standalone-lab-projects/consolidate-duplicate-code /**
38+ - DownloadableCodeProjects/standalone-lab-projects/simplify-complex-conditionals /**
3939
4040defaults :
4141 run :
@@ -47,13 +47,13 @@ jobs:
4747 steps :
4848 - name : Checkout
4949 uses : actions/checkout@v4
50- - name : Create GHCopilotEx8 SampleApps zip
50+ - name : Create GHCopilotEx9 SampleApps zip
5151 run : |
5252 # Ensure Downloads directory exists
5353 mkdir -p ./DownloadableCodeProjects/Downloads
5454
5555 # Change to source directory
56- cd ./DownloadableCodeProjects/standalone-lab-projects/consolidate-duplicate-code
56+ cd ./DownloadableCodeProjects/standalone-lab-projects/simplify-complex-conditionals
5757
5858 # Check if there are any git-tracked files to zip
5959 if [ -z "$(git ls-files)" ]; then
@@ -62,19 +62,19 @@ jobs:
6262 fi
6363
6464 # Remove existing zip file and create new one
65- rm -f ../../Downloads/GHCopilotEx8LabApps .zip
66- zip -r -q ../../Downloads/GHCopilotEx8LabApps .zip $(git ls-files)
65+ rm -f ../../Downloads/GHCopilotEx9LabApps .zip
66+ zip -r -q ../../Downloads/GHCopilotEx9LabApps .zip $(git ls-files)
6767
6868 # Verify zip file was created
69- if [ ! -f ../../Downloads/GHCopilotEx8LabApps .zip ]; then
69+ if [ ! -f ../../Downloads/GHCopilotEx9LabApps .zip ]; then
7070 echo "Failed to create zip file"
7171 exit 1
7272 fi
73-
74- echo "Successfully created GHCopilotEx8LabApps .zip"
73+
74+ echo "Successfully created GHCopilotEx9LabApps .zip"
7575 - name : Commit and push
7676 uses : Endbug/add-and-commit@v7
7777 with :
78- add : ' ["DownloadableCodeProjects/Downloads/GHCopilotEx8LabApps .zip"]'
78+ add : ' ["DownloadableCodeProjects/Downloads/GHCopilotEx9LabApps .zip"]'
7979 message : ' Updating Zip with sample app source files'
8080 push : true
0 commit comments