Skip to content

Create Codespaces Prebuild #288

Create Codespaces Prebuild

Create Codespaces Prebuild #288

name: Create Codespaces Prebuild
on:
schedule:
# Run at 06:00 am UTC every day
- cron: '0 6 * * *'
workflow_dispatch:
jobs:
createPrebuild:
# Only run in the main repository since it will fail in forks
if: github.repository == 'dotnet/runtime'
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: github/codespaces-precache@v1-stable
with:
regions: WestUs2 EastUs WestEurope
sku_name: premiumLinux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}