Skip to content

Commit

Permalink
chore(github-actions): update dependencies for create-release and pub…
Browse files Browse the repository at this point in the history
…lish-npm jobs

Removed 'build-matrix' from the 'create-release' job dependencies and replaced 'build-jobs' with 'update-package-json-version' in the 'publish-npm' job dependencies. Also, removed an unnecessary blank line.
  • Loading branch information
rrrodzilla committed Jul 24, 2024
1 parent ea9c34f commit 205c6b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
echo "### Release Build: v$version" >> $GITHUB_STEP_SUMMARY
echo "cargo_version=$version" >> $GITHUB_OUTPUT
build-jobs:
strategy:
matrix:
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:
token: ${{ secrets.RELEASE_TOKEN }}

create-release:
needs: [ build-jobs, extract-version, build-matrix ]
needs: [ build-jobs, extract-version ]
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
Expand All @@ -118,7 +117,7 @@ jobs:
token: ${{ secrets.RELEASE_TOKEN }}

publish-npm:
needs: [ create-release, extract-version, build-jobs ]
needs: [ create-release, extract-version, update-package-json-version ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 205c6b1

Please sign in to comment.