diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e848780..747cd1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,5 @@ on: push: - branches: - - main pull_request_target: types: [opened, reopened, synchronize] workflow_dispatch: @@ -234,7 +232,7 @@ jobs: - name: Test Vault Action (default KV V2) uses: ./ - id: kv-secrets + id: kv-secrets-tls with: url: https://localhost:8200 token: ${{ env.VAULT_TOKEN }} @@ -285,30 +283,4 @@ jobs: - name: Verify Vault Action Outputs run: npm run test:integration:e2e-tls env: - OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets.outputs.otherSecret }} - -# Removing publish step for now. -# publish: -# if: github.event_name == 'push' && contains(github.ref, 'main') -# runs-on: ubuntu-latest -# needs: [build, integration, e2e] -# steps: -# - uses: actions/checkout@v1 -# - uses: actions/setup-node@v3 -# with: -# node-version: '16.14.0' -# - name: setup npm cache -# uses: actions/cache@v1 -# with: -# path: ~/.npm -# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} -# restore-keys: | -# ${{ runner.os }}-node- -# - name: npm install -# run: npm ci -# - name: release -# if: success() && endsWith(github.ref, 'main') -# run: npx semantic-release -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets-tls.outputs.otherSecret }}