Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
just skipp the job rather than bailing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Mar 25, 2024
1 parent 7b867d0 commit 6a56dcf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'prerelease/*'
workflow_dispatch:
inputs:
checkAuth:
checkAuthOnly:
description: 'For checking that auth works'
required: true
type: choice
Expand Down Expand Up @@ -36,11 +36,6 @@ jobs:
api-url: https://api.gateway.akeyless.celo-networks-dev.org
access-id: p-kf9vjzruht6l
static-secrets: '{"/static-secrets/NPM/npm-publish-token":"NPM_TOKEN"}'
- name: Confirm Tokens
if: ${{ inputs.checkAuth }} === "yes"
run: |
echo "Success npm tokens recieved"
exit 1
- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
Expand All @@ -54,6 +49,7 @@ jobs:
shell: bash
run: yarn
- name: Create Release Pull Request or Publish to npm
if: ${{ inputs.checkAuthOnly }} != "yes"
id: changesets
uses: changesets/action@v1
env:
Expand Down

0 comments on commit 6a56dcf

Please sign in to comment.