.github/workflows/Build FunctionAppRelease.yml #1
Workflow file for this run
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
| on: | |
| push: | |
| branches: | |
| - Development | |
| paths: | |
| - 'FunctionApp/**' | |
| workflow_dispatch: | |
| inputs: | |
| messages: | |
| description: 'Why are you running manually?' | |
| required: false | |
| default: 'Manual Run' | |
| jobs: | |
| Build-Nightly-Zip: | |
| runs-on: ubuntu-latest | |
| if: github.sha == github.event.head_commit.id # Only run the job if the commit is the latest one | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| with: | |
| ref: ${{ github.head_ref}} | |
| - name: Run-Build-Script | |
| shell: pwsh | |
| run: | | |
| ./Build/Build-Zip-File.ps1 -Path ".\Nightly" |