Skip to content

Commit b2969b7

Browse files
committed
Split CI into main and dev
1 parent ada9e2a commit b2969b7

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

.github/workflows/install-ci.yml renamed to .github/workflows/dev.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ env:
1010
GREEN: '\033[0;32m'
1111
NC: '\033[0m'
1212
jobs:
13-
main:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v4
18-
- name: Setup ssh
19-
uses: webfactory/[email protected]
20-
with:
21-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
22-
- name: Install
23-
run: ./install.sh
2413
devcontainer:
2514
runs-on: ${{ matrix.os }}
2615
strategy:
@@ -34,4 +23,3 @@ jobs:
3423
with:
3524
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3625
- name: Install
37-
run: ./install.sh

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "test-install"
2+
on:
3+
schedule:
4+
- cron: "0 2 * * *"
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
env:
12+
GREEN: '\033[0;32m'
13+
NC: '\033[0m'
14+
jobs:
15+
main:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
- name: Setup ssh
21+
uses: webfactory/[email protected]
22+
with:
23+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
24+
- name: Install
25+
run: ./install.sh

0 commit comments

Comments
 (0)