summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-win.yml8
-rw-r--r--.github/workflows/build.yml10
2 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml
index 5de21402..7b545425 100644
--- a/.github/workflows/build-win.yml
+++ b/.github/workflows/build-win.yml
@@ -33,7 +33,9 @@ jobs:
- name: Install Python dependencies ⬇️
working-directory: ./backend
- run: C:\Users\runneradmin\.local\bin\poetry install --no-interaction
+ run: |
+ C:\Users\runneradmin\.local\bin\poetry self add "poetry-dynamic-versioning[plugin]"
+ C:\Users\runneradmin\.local\bin\poetry install --no-interaction
- name: Install JS dependencies ⬇️
working-directory: ./frontend
@@ -47,7 +49,9 @@ jobs:
- name: Build Python Backend 🛠️
working-directory: ./backend
- run: C:\Users\runneradmin\.local\bin\poetry run pyinstaller pyinstaller.spec
+ run: |
+ C:\Users\runneradmin\.local\bin\poetry dynamic-versioning
+ C:\Users\runneradmin\.local\bin\poetry run pyinstaller pyinstaller.spec
- name: Build Python Backend (noconsole) 🛠️
working-directory: ./backend
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4333e87e..0440e582 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,6 +41,8 @@ jobs:
- name: Checkout 🧰
uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
- name: Set up NodeJS 18 💎
uses: actions/setup-node@v3
@@ -76,7 +78,9 @@ jobs:
- name: Install Python dependencies ⬇️
working-directory: ./backend
- run: poetry install --no-interaction
+ run: |
+ poetry self add "poetry-dynamic-versioning[plugin]"
+ poetry install --no-interaction
- name: Install JS dependencies ⬇️
working-directory: ./frontend
@@ -90,7 +94,9 @@ jobs:
- name: Build Python Backend 🛠️
working-directory: ./backend
- run: pyinstaller pyinstaller.spec
+ run: |
+ poetry dynamic-versioning
+ pyinstaller pyinstaller.spec
- name: Upload package artifact ⬆️
if: ${{ !env.ACT }}