remove extra node version parameters

This commit is contained in:
Jonathan Shook 2023-01-25 20:43:41 -06:00
parent 6b0633d4a3
commit 910e871a83

View File

@ -17,13 +17,10 @@ jobs:
- name: checkout repo
uses: actions/checkout@v3
with:
node-version: '16'
- name: setup java
uses: actions/setup-java@v3
with:
node-version: '16'
distribution: 'temurin'
java-version: '17'
java-package: jdk
@ -46,7 +43,6 @@ jobs:
- name: Cache Maven packages
uses: actions/cache@v2
with:
node-version: '16'
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
@ -64,20 +60,16 @@ jobs:
- name: Setup docker buildx
uses: docker/setup-buildx-action@v1
with:
node-version: '16'
- name: docker hub login
uses: docker/login-action@v1
with:
node-version: '16'
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: docker test build
uses: docker/build-push-action@v2
with:
node-version: '16'
context: .
file: Dockerfile
pull: true
@ -99,7 +91,6 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v1
with:
node-version: '16'
name: binaries
path: staging
@ -136,7 +127,6 @@ jobs:
- name: docker push to hub
uses: docker/build-push-action@v2
with:
node-version: '16'
context: .
platforms: linux/amd64,linux/arm64
file: Dockerfile
@ -150,7 +140,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: '16'
tag_name: ${{ env.PREVIEW_VERSION }}
release_name: Release ${{ env.PREVIEW_VERSION }}
draft: false
@ -163,7 +152,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: '16'
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
asset_path: nb5/target/nb5.jar
asset_name: nb5.jar
@ -175,7 +163,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: '16'
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
asset_path: nb5/target/nb5
asset_name: nb5
@ -185,7 +172,6 @@ jobs:
if: always()
uses: actions/upload-artifact@v3
with:
node-version: '16'
name: test-results
path: |
[a-zA-Z]**/logs/*