Merge pull request #28 from MicrosoftLearning/exercise-update #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zip Azure Storage Dotnet Files | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'allfiles/labs/dotnet/azure-storage/**' | |
defaults: | |
run: | |
shell: pwsh | |
jobs: | |
create_zip: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create Azure Storage zip | |
run: | | |
cd ./allfiles/labs/dotnet/azure-storage | |
zip -r -q ../../../downloads/dotnet/azure-storage-dotnet.zip * | |
- name: Commit and push | |
uses: Endbug/add-and-commit@v7 | |
with: | |
add: 'allfiles/downloads/dotnet/azure-storage-dotnet.zip' | |
message: 'Updating Zip for dotnet source files' | |
push: true | |