Skip to content

Commit

Permalink
Update github actions action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vierbergenlars committed Dec 13, 2024
1 parent ea03d44 commit 5ea7b87
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Test
run: ./gradlew test
- name: Upload reports
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: reports-test
path: alfresco-health-processor-platform/build/reports
Expand All @@ -37,17 +38,18 @@ jobs:
flavour: [ "community" ]
version: [ "52", "61", "62", "70" ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Test
run: ./gradlew :integration-tests:alfresco-${{ matrix.flavour }}-${{ matrix.version }}:integrationTest -Prandom_ports=true
- name: Upload reports
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: reports-integration-test-${{ matrix.flavour }}-${{ matrix.version }}
path: integration-tests/alfresco-${{ matrix.flavour }}-${{ matrix.version }}/build/reports
Expand All @@ -56,12 +58,13 @@ jobs:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Publish
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.MAVEN_CENTRAL_GPG_KEY }}
Expand Down

0 comments on commit 5ea7b87

Please sign in to comment.