Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Feature/add crop data to the fiware integration layer (#52) #47

Feature/add crop data to the fiware integration layer (#52)

Feature/add crop data to the fiware integration layer (#52) #47

Workflow file for this run

name: Release
on:
push:
tags:
- v*
jobs:
build-with-maven:
name: Build with Maven
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: zulu
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn -B deploy
create-github-release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: build-with-maven
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
run: gh release create ${{ github.ref }} --generate-notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}