diff options
| author | K900 <me@0upti.me> | 2023-11-14 09:49:21 +0300 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2023-12-29 18:34:19 -0500 |
| commit | e2ade0d731f66d1ef2520bb1f108829c2907a053 (patch) | |
| tree | e9bba210d8d8e97e2e854a5f93a55f39c27c9aaa /.github/workflows | |
| parent | 06690890fb8f9381c640b9ba7bb3050a670cc2b7 (diff) | |
| download | decky-loader-e2ade0d731f66d1ef2520bb1f108829c2907a053.tar.gz decky-loader-e2ade0d731f66d1ef2520bb1f108829c2907a053.zip | |
feat(backend): enable poetry-dynamic-versioning
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-win.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 10 |
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 }} |
