fix: remove conditional
This commit is contained in:
parent
d3cd9b28df
commit
9c13ba8a06
1 changed files with 1 additions and 13 deletions
|
@ -45,23 +45,11 @@ jobs:
|
|||
name: dist
|
||||
path: dist
|
||||
|
||||
check-version:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-alpine
|
||||
outputs:
|
||||
version_changed: ${{ steps.check.outputs.version_changed }}
|
||||
steps:
|
||||
- name: Check Version
|
||||
id: check
|
||||
uses: https://git.lhprovedor.com.br/leandro/devops/.forgejo/actions/check-package-version@main
|
||||
|
||||
publish: #
|
||||
publish:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-alpine
|
||||
needs: [build-and-test]
|
||||
if: needs.check-version.outputs.version_changed == 'true' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master')
|
||||
steps:
|
||||
- name: Publish Npm Packages
|
||||
uses: https://git.lhprovedor.com.br/leandro/devops/.forgejo/actions/publish-npm-package@main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue