mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-14 19:56:29 +00:00
[AB-xxx] updating versions of GitHub actions in release/build job
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -19,10 +19,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
distribution: 'corretto'
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B install --file abstracto-application/pom.xml
|
run: mvn -B install --file abstracto-application/pom.xml
|
||||||
|
|||||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -6,12 +6,13 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Set up Java for publishing to GitHub Packages
|
- name: Set up Java for publishing to GitHub Packages
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
distribution: 'corretto'
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Load current version
|
- name: Load current version
|
||||||
id: version
|
id: version
|
||||||
@@ -21,7 +22,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Deploy documentation to GitHub pages
|
- name: Deploy documentation to GitHub pages
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
repository-name: Sheldan/abstracto-docs
|
repository-name: Sheldan/abstracto-docs
|
||||||
target-folder: docs/${{ env.version }}
|
target-folder: docs/${{ env.version }}
|
||||||
@@ -29,7 +30,7 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
folder: abstracto-application/documentation/target/generated-docs
|
folder: abstracto-application/documentation/target/generated-docs
|
||||||
- name: Deploy documentation to GitHub pages latest
|
- name: Deploy documentation to GitHub pages latest
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
repository-name: Sheldan/abstracto-docs
|
repository-name: Sheldan/abstracto-docs
|
||||||
target-folder: docs/current
|
target-folder: docs/current
|
||||||
@@ -37,7 +38,7 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
folder: abstracto-application/documentation/target/generated-docs
|
folder: abstracto-application/documentation/target/generated-docs
|
||||||
- name: Login to GitHub Packages Docker Registry
|
- name: Login to GitHub Packages Docker Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: docker.pkg.github.com
|
registry: docker.pkg.github.com
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
|
|||||||
Reference in New Issue
Block a user