GitHub Actions: Fix "The following actions uses node12 which is depre… #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a jpro-server and a webstart zip with signed jars and jnlp stub | |
name: Web-based deployments, JNLP/JPRO | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Build modules | |
run: mvn -P fast install | |
- name: Build webstart zip with signed jars | |
working-directory: ./deploy/webstart | |
run: mvn package | |
- name: Make webstart-staging directory | |
run: mkdir webstart-staging | |
- name: Copy webstart-zip to staging | |
run: cp -r ./deploy/webstart/target/*.zip webstart-staging | |
- name: Upload | |
uses: actions/upload-artifact@v4.3.1 | |
with: | |
name: webstart zip (needs edit of jnlp inside) | |
path: webstart-staging | |
- name: Build jpro-server zip | |
run: mvn -f ./deploy/jpro/pom.xml jpro:release | |
- name: Make jpro-staging directory | |
run: mkdir jpro-staging | |
- name: Copy jpro-zip to staging | |
run: cp -r ./deploy/jpro/target/*.zip jpro-staging | |
- name: Upload | |
uses: actions/upload-artifact@v4.3.1 | |
with: | |
name: jpro-server zip | |
path: jpro-staging |