test change #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |