Skip to content

Commit

Permalink
TEMP remove check-matching-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
merlindru committed Nov 23, 2023
1 parent 1ea2f25 commit 6c69ebc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/release-js-passkeys-next-auth-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,6 @@ defaults:
run:
working-directory: packages/js/passkeys-next-auth-provider

jobs:
check-matching-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: packages/js/passkeys-next-auth-provider
- run: |
version=$(echo $GITHUB_REF | cut -f3 -d'@')
echo "git_tag_version=$version" >> $GITHUB_OUTPUT
id: tag-version
- run: echo ${{ steps.tag-version.outputs.git_tag_version }}
- name: Version correctly set check
if: steps.package-version.outputs.current-version != steps.tag-version.outputs.git_tag_version
uses: actions/github-script@v6
with:
script: |
core.setFailed('version in package.json is not equal to git tag version!')
build-and-publish:
needs: check-matching-versions
runs-on: ubuntu-latest
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/release-js-passkeys-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,7 @@ defaults:
run:
working-directory: packages/js/passkeys-sdk

jobs:
check-matching-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: packages/js/passkeys-sdk
- run: |
version=$(echo $GITHUB_REF | cut -f3 -d'@')
echo "git_tag_version=$version" >> $GITHUB_OUTPUT
id: tag-version
- run: echo ${{ steps.tag-version.outputs.git_tag_version }}
- name: Version correctly set check
if: steps.package-version.outputs.current-version != steps.tag-version.outputs.git_tag_version
uses: actions/github-script@v6
with:
script: |
core.setFailed('version in package.json is not equal to git tag version!')
build-and-publish:
needs: check-matching-versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 6c69ebc

Please sign in to comment.