Add github action for codespace

This commit is contained in:
Marc Campbell
2021-11-11 21:32:21 +00:00
committed by GitHub
parent 5211cb0fe7
commit 101ab5d2fa

19
.github/workflows/codespaces.yaml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: prebuild codespace
on:
push:
branches:
- master
- codespaces-sandbox
workflow_dispatch:
jobs:
createPrebuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: github/codespaces-precache@v1-stable
with:
regions: WestUs2 EastUs WestEurope SouthEastAsia
sku_name: premiumLinux
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}