diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 599b26ae..ebf7dd5d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -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 @@ -57,7 +35,6 @@ jobs: build-windows: name: 🏗️ Build Windows runs-on: windows-latest - needs: version-bump strategy: fail-fast: false steps: @@ -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: @@ -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'