mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Remove prebuild workflow (#18028)
This commit is contained in:
28
.github/workflows/create-codespaces-prebuild.yml
vendored
28
.github/workflows/create-codespaces-prebuild.yml
vendored
@@ -1,28 +0,0 @@
|
|||||||
name: Create Prebuild
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
jobs:
|
|
||||||
createPrebuild:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- id: create-prebuild-production
|
|
||||||
run: |
|
|
||||||
$splat = @{
|
|
||||||
ErrorAction = 'Stop'
|
|
||||||
Uri = 'https://api.github.com/vscs_internal/user/vscode-prebuilds-bot/codespaces/prebuild'
|
|
||||||
Method = 'POST'
|
|
||||||
Headers = @{
|
|
||||||
'Content-Type' = 'application/json; charset=utf-8'
|
|
||||||
'Authorization' = 'token ${{ secrets.CODESPACES_PREBUILD_PAT }}'
|
|
||||||
}
|
|
||||||
Body = @{
|
|
||||||
ref = 'main'
|
|
||||||
repository_id = 41881900
|
|
||||||
location = 'WestUs2'
|
|
||||||
} | ConvertTo-Json
|
|
||||||
}
|
|
||||||
|
|
||||||
Invoke-RestMethod @splat
|
|
||||||
shell: pwsh
|
|
||||||
Reference in New Issue
Block a user