Skip to content

Commit 21b00d2

Browse files
committed
Upgarde GitHub actions
1 parent a128cc7 commit 21b00d2

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ghpages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Set up JDK 11
32-
uses: actions/setup-java@v3
32+
uses: actions/setup-java@v4
3333
with:
3434
java-version: '11'
3535
distribution: 'temurin'
@@ -40,11 +40,11 @@ jobs:
4040
run: mvn -B asciidoctor:process-asciidoc@generate-html --file pom.xml
4141

4242
- name: Upload artifact
43-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@v3
4444
with:
4545
# Upload entire repository
4646
path: './target/docs'
4747

4848
- name: Deploy to GitHub Pages
4949
id: deployment
50-
uses: actions/deploy-pages@v2
50+
uses: actions/deploy-pages@v4

.github/workflows/maven-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
PROJECT_VERSION: ${{ steps.project-version.outputs.PROJECT_VERSION }}
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Set up JDK 11
25-
uses: actions/setup-java@v3
25+
uses: actions/setup-java@v4
2626
with:
2727
java-version: '11'
2828
distribution: 'temurin'
2929
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file
3131

3232
- name: Build and Publish to GitHub Packages Apache Maven
33-
run: mvn -B deploy --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
33+
run: ./mvnw -B clean package --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
3434
env:
3535
GITHUB_TOKEN: ${{ github.token }}
3636

@@ -40,7 +40,7 @@ jobs:
4040
echo "PROJECT_VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_OUTPUT
4141
4242
- name: Temp. save artifact
43-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: zip-archive
4646
path: target/yamles-utils-*.zip
@@ -52,8 +52,8 @@ jobs:
5252
needs: build
5353

5454
steps:
55-
- uses: actions/checkout@v3
56-
- uses: actions/download-artifact@v3
55+
- uses: actions/checkout@v4
56+
- uses: actions/download-artifact@v4
5757
with:
5858
name: zip-archive
5959
path: target/

0 commit comments

Comments
 (0)