Skip to content

Commit

Permalink
fix(publish release): added release generation as previous dependant job
Browse files Browse the repository at this point in the history
  • Loading branch information
Supermanuu committed Aug 9, 2024
1 parent 1c1ae98 commit 72698d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ on:
workflow_dispatch:

jobs:
build:

generate-release-first:
uses: ./.github/workflows/release.yml

publish:
runs-on: ubuntu-latest
needs: generate-release-first
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} # Branch to merge into main
steps:

- uses: actions/checkout@v4

- uses: ./.github/workflows/release.yml

- name: Bump version and push tag
id: tag
uses: mathieudutour/github-tag-action@v6.2
Expand Down

0 comments on commit 72698d3

Please sign in to comment.