exec @docker
This commit is contained in:
parent
97c9b2ce36
commit
c0bbe9feb5
@ -6,8 +6,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
native:
|
||||
if: contains(github.event.head_commit.message, '@native')
|
||||
initialize:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DB_USER: ${{ secrets.DB_USER }}
|
||||
@ -34,6 +33,11 @@ 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
|
||||
|
||||
@ -42,21 +46,11 @@ 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: 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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user