Skip to content

@juarezjuniorgithub

@juarezjuniorgithub #6

name: ODSA FAAS Java CI
on: [push]
jobs:
build:
name: 'Build and Deploy to Azure'
runs-on: ubuntu-latest
steps:
- name: Log in to Azure
uses: azure/login@v1
with:
creds: '${{ secrets.ODSA_FAAS_AZURE_CREDENTIALS }}'
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build and Deploy to Azure with Maven
run: mvn --batch-mode --update-snapshots package azure-functions:deploy