-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (27 loc) · 1.02 KB
/
rc_test.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
36
name: CI
on: [push]
jobs:
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
ref: release-candidate
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: "^20"
cache: yarn
cache-dependency-path: yarn.lock
- name: Setup environment
run: sudo apt-get install libelf1
- name: Set Cat
run: echo "MEOW=meowzah" >> "$GITHUB_ENV"
- name: Log MEOW
run: echo hello MEOW is $MEOW
- name: Set VERSION
run: echo "VERSION=$(./scripts/get_version.sh)" >> "$GITHUB_ENV"
- name: Log version
run: echo hello version is $VERSION
- run: grep -Eo -m 1 'VERSION\s+= .*([0-9]+)\.[0-9]+\.[0-9]+.*' main/settings.py | head -1
- run: grep -Eo -m 1 'VERSION\s+= .*([0-9]+)\.[0-9]+\.[0-9]+.*' main/settings.py | head -1 | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+"
- run: ./scripts/get_version.sh