Update get-python-versions.yml
This commit is contained in:
parent
4e2c5f75b5
commit
80ef05deaf
|
@ -42,7 +42,7 @@ jobs:
|
||||||
Write-Host "No new versions were found"
|
Write-Host "No new versions were found"
|
||||||
Import-Module "./helpers/github/github-api.psm1"
|
Import-Module "./helpers/github/github-api.psm1"
|
||||||
$gitHubApi = Get-GitHubApi -RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
$gitHubApi = Get-GitHubApi -RepositoryFullName "$env:GITHUB_REPOSITORY" `
|
||||||
-AccessToken "${{ GITHUB_TOKEN }}"
|
-AccessToken "${{ secrets.GITHUB_TOKEN }}"
|
||||||
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
|
$gitHubApi.CancelWorkflow("$env:GITHUB_RUN_ID")
|
||||||
Start-Sleep -Seconds 60
|
Start-Sleep -Seconds 60
|
||||||
- name: Send Slack notification
|
- name: Send Slack notification
|
||||||
|
|
Loading…
Reference in New Issue