Skip to content

Commit

Permalink
Upgrade actions (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco Javier Martínez Páez <fjmpaez@autentia.com>
  • Loading branch information
fjmpaez and Francisco Javier Martínez Páez committed Mar 15, 2024
1 parent 63e0121 commit 64208cc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
echo "Error: It is not allowed to create a hotfix from main, use Release Action instead"
exit 1
fi
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
ref: ${{ inputs.from_branch }}

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
Expand Down Expand Up @@ -73,12 +73,12 @@ jobs:
HOTFIX_VERSION: ${{ needs.prepare-hotfix.outputs.HOTFIX_VERSION }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.HOTFIX_VERSION }}

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
Expand All @@ -100,8 +100,8 @@ jobs:
docker logout ghcr.io
- name: Create GitHub Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "tntconcept-web/target/*.war"
tag: ${{ env.HOTFIX_VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
NEXT_RELEASE: ${{ env.NEXT_RELEASE }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
Expand Down Expand Up @@ -46,13 +46,13 @@ jobs:
NEXT_RELEASE: ${{ needs.prepare-release.outputs.NEXT_RELEASE }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.NEXT_RELEASE }}


- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
Expand All @@ -74,7 +74,7 @@ jobs:
docker logout ghcr.io
- name: Create GitHub Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "tntconcept-web/target/*.war"
tag: ${{ env.NEXT_RELEASE }}
Expand Down

0 comments on commit 64208cc

Please sign in to comment.