Samples/templates for using Github actions and workflow
Active workflow files located in: .github/workflows
Templates and samples yml located in repo root
/files contains test file structure to be compressed & zipped
sample_multijob.yml - Sample git actions template with multiple jobs and steps.
CreateZipRelease.yml - Complete CI workflow to publish new ZIP file when a modification is made to ./files.
Latest generated .zip file is available from: https://github.com/timstockford/github_actions_templates/releases/latest/download/myfiles.zip
When files are updated in a particular repo folder, automatically zip the folder and publish as a resource, downloadable via http.
use case: Azure Image Builder to download an (automatically maintained) package of scripts during customisation phase.
note: in reality will use a Azure DevOps pipeline step to deliver the script artifacts from the repo.
- When /files folder updated create artifact files.zip - create_zip_artifact.yml
- Use Windows Container to create zip
- Test zip file extraction works, using dependancy on build job
- Create new draft release and upload zipfile as Asset
- Download Asset zip file from Release & test extraction
- Modify Release to make public
- Add badge to README.md for workflow status