5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 15:16:56 +00:00

Comment out publish workflow

This commit is contained in:
Jason O'Donnell 2020-07-31 16:52:29 -04:00
parent 944a2bea12
commit c63c61cd7e

View file

@ -141,28 +141,29 @@ jobs:
env: env:
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }} OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }}
publish: # Removing publish step for now.
if: github.event_name == 'push' && contains(github.ref, 'master') # publish:
runs-on: ubuntu-latest # if: github.event_name == 'push' && contains(github.ref, 'master')
needs: [build, integration, e2e] # runs-on: ubuntu-latest
steps: # needs: [build, integration, e2e]
- uses: actions/checkout@v1 # steps:
- uses: actions/setup-node@v1 # - uses: actions/checkout@v1
with: # - uses: actions/setup-node@v1
node-version: '' # with:
- name: setup npm cache # node-version: ''
uses: actions/cache@v1 # - name: setup npm cache
with: # uses: actions/cache@v1
path: ~/.npm # with:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} # path: ~/.npm
restore-keys: | # key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
${{ runner.os }}-node- # restore-keys: |
- name: npm install # ${{ runner.os }}-node-
run: npm ci # - name: npm install
- name: release # run: npm ci
if: success() && endsWith(github.ref, 'master') # - name: release
run: npx semantic-release # if: success() && endsWith(github.ref, 'master')
env: # run: npx semantic-release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}