fix(General): fix broken pipeline
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
# need to setup node and git
|
||||
- run: |
|
||||
apt-get update
|
||||
apt-get install -y nodejs git curl
|
||||
apt-get install -y nodejs git curl libsqlite3-0
|
||||
# check out code and set up python
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/actions/setup-python@v5
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
# need to setup node and git
|
||||
- run: |
|
||||
apt-get update
|
||||
apt-get install -y nodejs git
|
||||
apt-get install -y nodejs git libsqlite3-0
|
||||
# check out code
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/actions/setup-python@v5
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
- run: pytest
|
||||
# replace timestamp building dev version
|
||||
- name: Add timestamp to version
|
||||
if: github.head_ref != '' && github.head_ref != 'master'
|
||||
if: github.head_ref != 'master'
|
||||
run: |
|
||||
sed -i -E "s/(version = \"[^\"]+)(-dev)DT\"/\1\2$(date -u +'%Y%m%d%H%M%S')\"/" pyproject.toml
|
||||
cat pyproject.toml
|
||||
|
||||
+2
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "amq_adapter"
|
||||
version = "0.2.2"
|
||||
version = "0.2.2-devDT"
|
||||
description = "Adapter for RabbitMQ to integrate a CleverThis python-code Service with CleverMicro platform"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
@@ -19,6 +19,7 @@ classifiers = [
|
||||
]
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"aio-pika~=9.5.5",
|
||||
"aiohttp~=3.11.11",
|
||||
"pika~=1.3.2",
|
||||
"fastapi==0.115.6",
|
||||
|
||||
Reference in New Issue
Block a user