Skip to content

Commit

Permalink
CHange version after
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 17, 2024
1 parent 54b8429 commit e0488f6
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,9 @@ 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]'
skip-tag: 'true'

build-linux:
name: 🏗️ Build Linux
runs-on: ubuntu-latest
needs: version-bump
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
Expand All @@ -57,7 +35,6 @@ jobs:
build-windows:
name: 🏗️ Build Windows
runs-on: windows-latest
needs: version-bump
strategy:
fail-fast: false
steps:
Expand Down Expand Up @@ -112,6 +89,10 @@ jobs:
with:
fetch-depth: 0

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

- name: Download Linux artifact
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -158,3 +139,21 @@ jobs:
asset_path: dist/LinguifAI Setup ${{ steps.project-version.outputs.version }}.exe
asset_name: LinguifAI-Setup-${{ steps.project-version.outputs.version }}.exe
asset_content_type: application/octet-stream

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

- 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]'
skip-tag: 'true'

0 comments on commit e0488f6

Please sign in to comment.