Skip to content

Commit

Permalink
set up environment correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 27, 2024
1 parent f59270e commit a974276
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
on:
push:
branches: ["6.1"]

# temporary to allow running of action
pull_request:
branches: ["main"]
workflow_dispatch: {}
workflow_dispatch: {}

permissions:
contents: write
Expand Down Expand Up @@ -61,6 +57,17 @@ jobs:
npm_package_name: mongodb-client-encryption
dry_run: ${{ needs.release_please.outputs.release_created == '' }}

- name: Set up silk environment
shell: bash
run: |
set -eu
SILKBOMB_ENVFILE=/tmp/silkbomb-envfile
cat << EOF > $SILKBOMB_ENVFILE
SILK_CLIENT_ID=${SILKBOMB_USER}
SILK_CLIENT_SECRET=${SILKBOMB_KEY}
EOF
echo 'SILKBOMB_ENVFILE=$SILKBOMB_ENVFILE' >> $GITHUB_ENV
- name: Copy sbom file to release assets
shell: bash
if: ${{ 'mongodb-client-encryption-6.1' == '' }}
Expand Down

0 comments on commit a974276

Please sign in to comment.