feat: Flow API for scrollTargetIntoView web component feature #36
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 Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ v23 ] | |
pull_request: | |
branches: [ v23 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Cache local NPM | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Build with Maven | |
run: mvn -B package -Pproduction --file pom.xml | |
- name: Rename the war and remove the version | |
run: mv ${{ secrets.DEMO_NAME }}/target/${{ secrets.DEMO_NAME }}*.war ${{ secrets.DEMO_NAME }}.war | |
- name: SCP to the server | |
# You may pin to the exact commit or the version. | |
# uses: appleboy/scp-action@edc8ec9139a2687bcebf0249d0352ff2a988df00 | |
uses: appleboy/[email protected] | |
with: | |
# scp remote host | |
host: ${{ secrets.APP_FI_HOST_JAVA11 }} | |
# scp remote port | |
port: ${{ secrets.APP_FI_PORT_JAVA11 }} | |
# scp username | |
username: ${{ secrets.APP_FI_USER_JAVA11 }} | |
# scp password | |
password: ${{ secrets.APP_FI_PASSWORD_JAVA11 }} | |
# target path on the server | |
target: webapps/ | |
# scp file list | |
source: ${{ secrets.DEMO_NAME }}.war | |
fingerprint: ${{ secrets.APP_FI_SHA256_JAVA11 }} |