exec @docker
Some checks failed
Setup Native Action / native (3.12.7) (push) Has been skipped
Setup Native Action / docker (3.12.7) (push) Failing after 1m41s

This commit is contained in:
hoangvv 2025-01-15 12:17:17 +07:00
parent c0bbe9feb5
commit 42eb7a6247

View File

@ -6,7 +6,8 @@ on:
- main
jobs:
initialize:
native:
if: contains(github.event.head_commit.message, '@native')
runs-on: ubuntu-latest
env:
DB_USER: ${{ secrets.DB_USER }}
@ -33,11 +34,6 @@ jobs:
- name: Activate virtual environment and install dependencies
run: make install
native:
if: contains(github.event.head_commit.message, '@native')
runs-on: ubuntu-latest
needs: [initialize]
steps:
- name: Generate Config
run: make gen_config
@ -46,11 +42,26 @@ jobs:
docker:
if: contains(github.event.head_commit.message, '@docker')
runs-on: ubuntu-latest
needs: [initialize]
strategy:
matrix:
python-version: [3.12.7]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Create Python virtual environment
run: python -m venv venv
- name: Activate virtual environment and install dependencies
run: make install
- name: Update Tag
run: make update_tag CURR_BRANCH=${{ github.ref_name }}