Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add continue-on-error to publish workflow #944

Merged
merged 7 commits into from
Jan 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ jobs:
NODE_ENV=production npm run bundle:prod

- name: Github release
continue-on-error: true
if: steps.check_version_github.outputs.bump == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -295,6 +296,7 @@ jobs:
gh release create --generate-notes "v${{ steps.next_version.outputs.next_version }}" "./protocol/target/ink/captcha/captcha.contract" "./protocol/target/ink/proxy/proxy.contract" "./packages/procaptcha-bundle/dist/bundle/procaptcha.bundle.js"

- name: Npm release
continue-on-error: true
if: steps.check_version_npm.outputs.bump == 'true'
run: |
if [[ "${{ vars.HOST_GITHUB_ACTIONS }}" == true ]]; then
Expand All @@ -310,6 +312,7 @@ jobs:
fi

- name: Docker js_server release
continue-on-error: true
if: steps.check_version_docker_js_server.outputs.bump == 'true'
run: |
docker pull prosopo/js_server:$latest
Expand All @@ -332,7 +335,7 @@ jobs:
docker push prosopo/js_server:${{ steps.next_version.outputs.next_version }}

- name: Build and Push the Provider Bundle
# Build and push the provider bundle to Docker Hub if bump is true
continue-on-error: true
if: steps.check_version_docker_provider.outputs.bump == 'true'
run: |
# Copy the rococo env file to production env file
Expand Down
Loading