exec @docker
This commit is contained in:
parent
97c9b2ce36
commit
c0bbe9feb5
@ -6,8 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
native:
|
initialize:
|
||||||
if: contains(github.event.head_commit.message, '@native')
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DB_USER: ${{ secrets.DB_USER }}
|
DB_USER: ${{ secrets.DB_USER }}
|
||||||
@ -34,6 +33,11 @@ jobs:
|
|||||||
- name: Activate virtual environment and install dependencies
|
- name: Activate virtual environment and install dependencies
|
||||||
run: make install
|
run: make install
|
||||||
|
|
||||||
|
native:
|
||||||
|
if: contains(github.event.head_commit.message, '@native')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [initialize]
|
||||||
|
steps:
|
||||||
- name: Generate Config
|
- name: Generate Config
|
||||||
run: make gen_config
|
run: make gen_config
|
||||||
|
|
||||||
@ -42,21 +46,11 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
if: contains(github.event.head_commit.message, '@docker')
|
if: contains(github.event.head_commit.message, '@docker')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: [initialize]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.12.7]
|
python-version: [3.12.7]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: ${{ github.ref_name }}
|
|
||||||
|
|
||||||
- name: Create Python virtual environment
|
|
||||||
run: python -m venv venv
|
|
||||||
|
|
||||||
- name: Activate virtual environment and install dependencies
|
|
||||||
run: make install
|
|
||||||
|
|
||||||
- name: Update Tag
|
- name: Update Tag
|
||||||
run: make update_tag CURR_BRANCH=${{ github.ref_name }}
|
run: make update_tag CURR_BRANCH=${{ github.ref_name }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user