forked from microsoft/typescript-go
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (43 loc) · 1.32 KB
/
create-cache.yml
File metadata and controls
53 lines (43 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# name: Create CI cache
# on:
# workflow_dispatch:
# push:
# branches:
# - main
# schedule:
# # Run every day at 10:00 UTC / 03:00 PST
# - cron: '0 10 * * *'
# permissions:
# contents: read
# # Ensure scripts are run with pipefail. See:
# # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
# defaults:
# run:
# shell: bash
# jobs:
# cache:
# if: github.repository == 'microsoft/typescript-go'
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-latest
# - windows-latest
# - macos-latest
# runs-on: ${{ matrix.os }}
# steps:
# - uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
# with:
# large-packages: false
# docker-images: false
# swap-storage: false
# dotnet: false
# - run: git config --system core.longpaths true
# if: ${{ matrix.os == 'windows-latest' }}
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# with:
# submodules: true
# - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
# - uses: ./.github/actions/setup-go
# with:
# create: 'true'