Skip to content

Commit

Permalink
Update develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored Jun 10, 2024
1 parent ac70fa0 commit 5076f4b
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,50 @@ concurrency:
cancel-in-progress: true

jobs:
version-bump:
name: 🔢 Version Bump
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get version of the project
id: project-version
uses: euberdeveloper/ga-project-version@main

- name: Automated Version Bump
uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit-message: 'CI: bumps version to {{version}} [skip ci]'

- name: Get version of the project after bump
id: project-version-after
uses: euberdeveloper/ga-project-version@main

build:
name: 🏗️ Build
runs-on: windows-latest
needs: version-bump
strategy:
fail-fast: false
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
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: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit-message: 'CI: bumps version to {{version}} [skip ci]'

- name: Get version of the project
id: project-version-after
uses: 'euberdeveloper/ga-project-version@main'
uses: euberdeveloper/ga-project-version@main

- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
Expand Down

0 comments on commit 5076f4b

Please sign in to comment.