From de0b519c02376c23b28af182ed95b4b699f9d986 Mon Sep 17 00:00:00 2001 From: Cameron Maloney Date: Sun, 9 Jun 2024 19:17:41 -0700 Subject: [PATCH] Update develop.yml --- .github/workflows/develop.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index f1fcb8b6..cdc83881 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -17,7 +17,22 @@ jobs: - name: ⬇️ Checkout repo uses: actions/checkout@v4 with: - fetch-depth: 0 # Ensure full history is fetched for tagging + fetch-depth: 0 + + - name: ⎔ Setup Node + uses: actions/setup-node@v3 + with: + cache: "npm" + + - name: Get version of the project + id: project-version + uses: 'euberdeveloper/ga-project-version@main' + + - name: 'change version' + uses: reedyuk/npm-version@1.1.1 + with: + version: ${{ steps.project-version.outputs.version }} + git-tag-version: 'true' - name: Set up conda uses: conda-incubator/setup-miniconda@v2 @@ -25,11 +40,6 @@ jobs: activate-environment: default environment-file: api/environment.yml - - name: ⎔ Setup Node - uses: actions/setup-node@v3 - with: - cache: "npm" - - name: 🟨 Setup Python uses: actions/setup-python@v3 with: @@ -44,17 +54,6 @@ jobs: - name: Install dependencies run: npm install - - name: Get version of the project - id: project-version - uses: 'euberdeveloper/ga-project-version@main' - - - name: 'change version' - uses: reedyuk/npm-version@1.1.1 - with: - version: ${{ steps.project-version.outputs.version }} - package: 'subproject-directory/' - git-tag-version: 'true' - - name: 📦 Electron Builder run: npm run electron:package:win env: