Skip to content

Commit

Permalink
Bytter til java 21 også i workflow
Browse files Browse the repository at this point in the history
Co-authored-by: Hege Haavaldsen <hege.haavaldsen@nav.no>
Co-authored-by: Marte Tårnes <marte.tarnes@nav.no>
  • Loading branch information
3 people committed Jan 15, 2024
1 parent 514f5f8 commit bb361c6
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,13 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17.x'
java-version: '21.x'
cache: 'gradle'
- name: test and build
run: ./gradlew -Pversion="1.$(echo $GITHUB_SHA | cut -c1-7)" build publish
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
snyk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Gradle vulnerability check
uses: snyk/actions/gradle-jdk16@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
with:
args: --org=tbd-ty7 --fail-on=all --project-name=rapids-and-rivers-cli
command: monitor

release:
name: Create Release
Expand Down

0 comments on commit bb361c6

Please sign in to comment.