From 7477600d1f39114ea0bcb549684843bd0332e2f5 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 21 Feb 2023 09:12:55 +0000 Subject: [PATCH] GitHub Actions: update actions/setup-java from v2 to v3 --- .github/workflows/update-deps.yml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index 2636fdd..8ec2741 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -16,7 +16,7 @@ - id: java name: Install Java and Maven - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -59,6 +59,7 @@ -DremotePom='org.keycloak:keycloak-parent:${{ steps.vars.outputs.keycloakVersion }}' \ -DupdateDependencies=true -DupdatePropertyVersions=true mvn versions:use-latest-versions -DallowMajorUpdates=false + mvn versions:set-property -Dproperty=project.build.outputTimestamp -DnewVersion=`date +%s` - id: create_commit name: Create commit @@ -92,7 +93,7 @@ with: github-token: ${{ env.GH_TOKEN }} script: | - github.pulls.create({ + github.rest.pulls.create({ owner: context.repo.owner, repo: context.repo.repo, head: 'feature/keycloak-update-${{ steps.vars.outputs.keycloakVersion }}', -- Gitblit v1.9.1