Skip to content

Commit

Permalink
[ci] Setting secrets on the bazel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Jun 16, 2023
1 parent ad8921b commit 7825792
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bazel.yml
Expand Up @@ -49,6 +49,8 @@ jobs:
runs-on: ${{ inputs.os == 'windows' && 'windows-2019' || format('{0}-latest', inputs.os) }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEL_M2_USER: ${{ secrets.SEL_M2_USER }}
SEL_M2_PASS: ${{ secrets.SEL_M2_PASS }}
steps:
- name: Checkout source tree
uses: actions/checkout@v3
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/nightly.yml
Expand Up @@ -17,10 +17,6 @@ on:
- java
- ruby

env:
SEL_M2_USER: ${{ secrets.SEL_M2_USER }}
SEL_M2_PASS: ${{ secrets.SEL_M2_PASS }}

jobs:
ruby:
if: inputs.language == 'ruby'
Expand Down Expand Up @@ -48,3 +44,14 @@ jobs:
name: Release
cache-key: java-nightly
run: ./go publish-maven-snapshot

grid:
if: inputs.language == 'java'
name: Grid
uses: ./.github/workflows/bazel.yml
with:
name: Release
cache-key: grid-nightly
run: |
echo build --stamp >>.bazelrc.local
./go prep-release-zip

0 comments on commit 7825792

Please sign in to comment.