Do not deploy for test workflow runs
This commit is contained in:
parent
5b569ddcb4
commit
a35f1c181c
|
@ -100,4 +100,6 @@ jobs:
|
|||
</profiles>
|
||||
</settings>
|
||||
EOF
|
||||
mvn clean deploy
|
||||
if [[ "$GITHUB_REF" != refs/tags/v* ]]; then
|
||||
mvn clean deploy
|
||||
fi
|
||||
|
|
|
@ -88,4 +88,6 @@ jobs:
|
|||
b2 authorize-account ${{ secrets.CICD_CLI_B2_KEY_ID }} ${{ secrets.CICD_CLI_B2_APPLICATION_KEY }}
|
||||
b2 sync b2://${{ secrets.CICD_CLI_B2_BUCKET_NAME }}/hyperbuild/bin/nodejs/${{ steps.version.outputs.VERSION }}/ ./dist/.
|
||||
cp ../README.md .
|
||||
npm publish
|
||||
if [[ "${{ steps.version.outputs.VERSION }}" != "0.0.0" ]]; then
|
||||
npm publish
|
||||
fi
|
||||
|
|
|
@ -105,4 +105,6 @@ jobs:
|
|||
b2 authorize-account ${{ secrets.CICD_CLI_B2_KEY_ID }} ${{ secrets.CICD_CLI_B2_APPLICATION_KEY }}
|
||||
b2 sync b2://${{ secrets.CICD_CLI_B2_BUCKET_NAME }}/hyperbuild/bin/python/${{ steps.version.outputs.VERSION }}/ ./hyperbuild/.
|
||||
python setup.py sdist bdist_wheel
|
||||
python -m twine upload dist/*
|
||||
if [[ "${{ steps.version.outputs.VERSION }}" != "0.0.0" ]]; then
|
||||
python -m twine upload dist/*
|
||||
fi
|
||||
|
|
|
@ -119,4 +119,6 @@ jobs:
|
|||
:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}
|
||||
EOF
|
||||
chmod 0600 "$HOME/.gem/credentials"
|
||||
gem push hyperbuild-${{ steps.version.outputs.VERSION }}.gem
|
||||
if [[ "${{ steps.version.outputs.VERSION }}" != "0.0.0" ]]; then
|
||||
gem push hyperbuild-${{ steps.version.outputs.VERSION }}.gem
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue