-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9f4c03
commit de0b519
Showing
1 changed file
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,19 +17,29 @@ 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/[email protected] | ||
with: | ||
version: ${{ steps.project-version.outputs.version }} | ||
git-tag-version: 'true' | ||
|
||
- name: Set up conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
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/[email protected] | ||
with: | ||
version: ${{ steps.project-version.outputs.version }} | ||
package: 'subproject-directory/' | ||
git-tag-version: 'true' | ||
|
||
- name: 📦 Electron Builder | ||
run: npm run electron:package:win | ||
env: | ||
|