-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlexer.yml
More file actions
38 lines (30 loc) · 951 Bytes
/
lexer.yml
File metadata and controls
38 lines (30 loc) · 951 Bytes
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
name: SCH-ClassMapper
on:
push:
branches: [ "test" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js '20'
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Clone the SCH-ClassMapper repository
run: git clone https://github.com/SteamClientHomebrew/ClassMapper.git
- name: Install the dependencies
run: npm install --prefix ClassMapper
- name: Run the ClassMapper script
run: |
cd ClassMapper
node lexer.js ${{ github.workspace }} --comment
- name: Remove the classmapper directory
run: rm -rf ClassMapper
- name: Commit and push the changes
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "SCH-ClassMapper"
git push