generated from inokawa/lang-box
35 lines (30 loc) 路 916 Bytes
/
run.yml
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
name: update gist
on:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@master
with:
node-version: "14.x"
- name: Cache dependencies
uses: actions/cache@master
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: sudo apt-get update
- run: sudo apt-get install cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev
- run: sudo gem install github-linguist
- run: npm install
- run: npm start
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: 2c58b43574cc79b20890cea757c96c5a
USERNAME: ${{ github.actor }}