Skip to content

Commit

Permalink
Merge branch 'develop' into 359-security-policy
Browse files Browse the repository at this point in the history
  • Loading branch information
juancho0202 authored Nov 29, 2023
2 parents e8d526b + 0e81a5f commit 4004a79
Showing 1 changed file with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
# SPDX-FileCopyrightText: 2022 Alliander N.V.
# SPDX-FileCopyrightText: 2023 Alliander N.V.
#
# SPDX-License-Identifier: Apache-2.0
on:
push:
branches:
- main

name: Release Project
permissions:
contents: write
pull-requests: write

on:
release:
types: [ released ]
name: release-please

jobs:
release_please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: maven
package-name: compas-cim-mapping
# The logic below handles the docker hub publication:
push_to_registry:
needs: release_please
if: needs.release_please.outputs.release_created == "true"
name: Build and publish
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down Expand Up @@ -63,3 +80,4 @@ jobs:
run: ./mvnw -B -s custom_maven_settings.xml -Pnative-image,release clean deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4004a79

Please sign in to comment.