updated referenced actions

This commit is contained in:
iadgovuser26 2023-10-16 13:56:27 -04:00
parent 262d7a6b7d
commit 0c851c593f

View File

@ -15,12 +15,12 @@ jobs:
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
java-version: '17' java-version: '17'
distribution: 'adopt' distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file settings-path: ${{ github.workspace }} # location for the settings.xml file
@ -30,18 +30,12 @@ jobs:
contents: read contents: read
packages: write packages: write
steps: steps:
- uses: actions/checkout@v2
- name: directory setup - name: directory setup
run: | run: |
mkdir -p artifacts/jars mkdir -p artifacts/jars
mkdir -p artifacts/wars mkdir -p artifacts/wars
mkdir -p artifacts/rpms mkdir -p artifacts/rpms
mkdir -p artifacts/debs mkdir -p artifacts/debs
- name: Create HIRS packages
uses: actions/setup-java@v3
with:
java-version: 17
distribution: oracle
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get update sudo apt-get update