Upgrade github actions versions (#2622)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
2
.github/workflows/first-interaction.yaml
vendored
2
.github/workflows/first-interaction.yaml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.PAT_SECRET }}
|
repo-token: ${{ secrets.PAT_SECRET }}
|
||||||
pr-message: |-
|
pr-message: |-
|
||||||
|
|||||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -92,12 +92,12 @@ jobs:
|
|||||||
- 5672:5672
|
- 5672:5672
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.revision == '0-SNAPSHOT' && github.ref || inputs.revision }}
|
ref: ${{ inputs.revision == '0-SNAPSHOT' && github.ref || inputs.revision }}
|
||||||
|
|
||||||
- name: Set up JDK & Maven Central credentials
|
- name: Set up JDK & Maven Central credentials
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 21
|
java-version: 21
|
||||||
|
|||||||
2
.github/workflows/release_docker.yaml
vendored
2
.github/workflows/release_docker.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: "Release ${{ inputs.revision }}"
|
- name: "Release ${{ inputs.revision }}"
|
||||||
run: echo "Releasing ${{ inputs.revision }}"
|
run: echo "Releasing ${{ inputs.revision }}"
|
||||||
|
|||||||
@@ -21,12 +21,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Set up JDK & Maven Central credentials
|
- name: Set up JDK & Maven Central credentials
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 21
|
java-version: 21
|
||||||
|
|||||||
6
.github/workflows/reusable_workflow_tag.yaml
vendored
6
.github/workflows/reusable_workflow_tag.yaml
vendored
@@ -24,12 +24,12 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
# should work with actions/checkout@v4 with fetch-tags: true, BUT it doesn't work as expected!
|
# should work with actions/checkout@v5 with fetch-tags: true, BUT it doesn't work as expected!
|
||||||
# See https://github.com/actions/checkout/issues/1471.
|
# See https://github.com/actions/checkout/issues/1471.
|
||||||
# So we do workaround by manually fetching tags.
|
# So we do workaround by manually fetching tags.
|
||||||
- name: Workaround of actions/checkout@v4 fetch-tags true doesn't work
|
- name: Workaround of actions/checkout@v5 fetch-tags true doesn't work
|
||||||
run: git fetch --tags
|
run: git fetch --tags
|
||||||
|
|
||||||
- name: Create Tag ${{ inputs.tag_name }}
|
- name: Create Tag ${{ inputs.tag_name }}
|
||||||
|
|||||||
@@ -23,12 +23,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: 21
|
java-version: 21
|
||||||
|
|||||||
@@ -38,13 +38,13 @@ jobs:
|
|||||||
echo "Ref: ${{ inputs.ref }},"
|
echo "Ref: ${{ inputs.ref }},"
|
||||||
echo "Maven Properties: ${{ inputs.maven_properties }}"
|
echo "Maven Properties: ${{ inputs.maven_properties }}"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
repository: ${{ inputs.repository }}
|
repository: ${{ inputs.repository }}
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 21
|
java-version: 21
|
||||||
|
|||||||
Reference in New Issue
Block a user