Skip to content

Commit e47e2c0

Browse files
author
Jacek Gębal
committed
Update build process
1 parent 8ceee13 commit e47e2c0

1 file changed

Lines changed: 4 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
--health-retries 10
3535
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
4040

@@ -45,7 +45,7 @@ jobs:
4545
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh
4646

4747
- name: Set up JDK 17
48-
uses: actions/setup-java@v2
48+
uses: actions/setup-java@v5
4949
with:
5050
java-version: '17'
5151
distribution: 'adopt'
@@ -56,7 +56,7 @@ jobs:
5656
gpg-passphrase: MAVEN_GPG_PASSPHRASE
5757

5858
- name: Cache local Maven repository
59-
uses: actions/cache@v2
59+
uses: actions/cache@v4
6060
with:
6161
path: ~/.m2/repository
6262
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -77,23 +77,7 @@ jobs:
7777
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
7878

7979
- name: Publish unit test results
80-
uses: EnricoMi/publish-unit-test-result-action@v1.24
80+
uses: EnricoMi/publish-unit-test-result-action@v2
8181
if: always()
8282
with:
8383
files: target/**/TEST**.xml
84-
85-
slack-workflow-status:
86-
if: always()
87-
name: Post Workflow Status To Slack
88-
needs: [ build ]
89-
runs-on: ubuntu-latest
90-
steps:
91-
- name: Slack Workflow Notification
92-
uses: Gamesight/slack-workflow-status@master
93-
with:
94-
# Required Input
95-
repo_token: ${{secrets.GITHUB_TOKEN}}
96-
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
97-
# Optional Input
98-
name: 'Github Actions[bot]'
99-
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'

0 commit comments

Comments
 (0)