-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating release pipeline syntax (#423)
Co-authored-by: snehabandla <[email protected]>
- Loading branch information
1 parent
392b887
commit 0b0abe5
Showing
1 changed file
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
name: oss-release | ||
|
||
# Action is schedued to run at 2AM UTC every Wednesday. Executed script ensures release is only generated every other week. | ||
on: | ||
schedule: | ||
- cron: '0 2 * * WED' | ||
|
||
steps: | ||
- name: Script to Create OSS Release | ||
uses: actions/upload-artifact@v2 | ||
with: # Upload generated log file | ||
name: log | ||
path: log.txt | ||
- shell: pwsh | ||
env: # Use secret in repo to make necessary AzureDevOps calls. | ||
AZUREDEVOPS_PAT: ${{ secrets.AZUREDEVOPS_PAT }} | ||
run: | # Run powershell script to manage API calls to generate Release. | ||
CreateRelease.ps1 | ||
jobs: | ||
oss-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Script to Create OSS Release | ||
uses: actions/upload-artifact@v2 | ||
with: # Upload generated log file | ||
name: log | ||
path: log.txt | ||
- shell: pwsh | ||
env: # Use secret in repo to make necessary AzureDevOps calls. | ||
AZUREDEVOPS_PAT: ${{ secrets.AZUREDEVOPS_PAT }} | ||
run: | # Run powershell script to manage API calls to generate Release. | ||
CreateRelease.ps1 |