Skip to content

Commit

Permalink
Switch CodeQL to assemble artifacts using the same build as the rest …
Browse files Browse the repository at this point in the history
…of CI (#3132)

### Description
Switch CodeQL to assemble artifacts using the same build as the rest of
CI

- Bump CodeQL action version from v1 to v2

### Issues Resolved
- Resolves #3131

### Check List
- [ ] ~New functionality includes testing~
- [ ] ~New functionality has been documented~
- [X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied authored Aug 9, 2023
1 parent 7219feb commit f77cc03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v2
with:
languages: java
- run: ./gradlew clean build -Dbuild.snapshot=false -x test -x integrationTest
- uses: github/codeql-action/analyze@v1
- run: ./gradlew clean assemble
- uses: github/codeql-action/analyze@v2

build-artifact-names:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f77cc03

Please sign in to comment.