Skip to content

Commit

Permalink
build(gha): update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 23, 2023
1 parent 0a9c637 commit ee5dfe7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

build:
runs-on: ubuntu-22.04
needs:
- test
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -34,18 +32,20 @@ jobs:
#language=sh
run: |
version=$(npm pkg get version | sed 's/"//g')
releaseVersion="$version-${{ github.sha }}"
commitsSinceTag=$(git log --oneline v$version.. | wc -l)
releaseVersion="$version-$commitsSinceTag"
echo "version=$releaseVersion" >> $GITHUB_OUTPUT
- uses: ./.github/actions/release
id: release
with:
image: ${{ steps.build.outputs.image }}
version: ${{ steps.version.outputs.version }}
image: ${{ steps.build.outputs.image }}

rebase-prs:
needs:
- test
- build
uses: ./.github/workflows/rebase-prs.yml
secrets: inherit

0 comments on commit ee5dfe7

Please sign in to comment.