Skip to content

Commit

Permalink
Merge pull request #164 from navikt/Oppdatere-Workflow
Browse files Browse the repository at this point in the history
Oppdatert workflows til å bruke v4
  • Loading branch information
TheaMarieAlnes authored Feb 2, 2024
2 parents 70188b8 + 3c0ef42 commit 7e1e390
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Build with Maven
run: mvn -T 2C -B clean install
8 changes: 5 additions & 3 deletions .github/workflows/releaseGithub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set release tag
run: |
COMMIT_COUNT=$(git rev-list --all --count)
Expand All @@ -27,9 +27,11 @@ jobs:
echo "CHANGELOG=$text" >> $GITHUB_ENV
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Deploy artifacts to github maven repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7e1e390

Please sign in to comment.