Skip to content

Commit

Permalink
Update githut actions versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
peransin-obeo committed Jun 13, 2024
1 parent d45bba2 commit fedd215
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ jobs:

steps:
- name: Checkout 📂
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK 11 ⚙️
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'zulu'
java-version: '11'

- name: Cache Maven packages ⛓️
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -30,7 +31,7 @@ jobs:

- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@4.6.1
with:
branch: gh-pages
folder: releng/com.obeonetwork.mbse.capella.vpx.site/target/repository
Expand All @@ -40,11 +41,11 @@ jobs:

- name: Get the tag version 🏷️
id: get_version
run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "TAG_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

- name: Deploy Release 🚀🏷️
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@4.6.1
with:
branch: gh-pages
folder: releng/com.obeonetwork.mbse.capella.vpx.site/target/repository
Expand Down

0 comments on commit fedd215

Please sign in to comment.