File tree Expand file tree Collapse file tree 1 file changed +25
-9
lines changed Expand file tree Collapse file tree 1 file changed +25
-9
lines changed Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: 2022 Alliander N.V.
1+ # SPDX-FileCopyrightText: 2023 Alliander N.V.
22#
33# SPDX-License-Identifier: Apache-2.0
4+ on :
5+ push :
6+ branches :
7+ - main
48
5- name : Release Project
9+ permissions :
10+ contents : write
11+ pull-requests : write
612
7- on :
8- release :
9- types : [ released ]
13+ name : release-please
1014
1115jobs :
12- release_project :
13- name : Release project
16+ release_please :
17+ runs-on : ubuntu-latest
18+ outputs :
19+ release_created : ${{ steps.release.outputs.release_created }}
20+ steps :
21+ - uses : google-github-actions/release-please-action@v3
22+ id : release
23+ with :
24+ release-type : node
25+ package-name : compas-cim-mapping
26+ # The logic below handles the docker hub publication:
27+ push_to_registry :
28+ needs : release_please
29+ if : needs.release_please.outputs.release_created == "true"
30+ name : Build and publish
1431 runs-on : ubuntu-latest
15- timeout-minutes : 30
32+ timeout-minutes : 15
1633
1734 steps :
1835 - name : Checkout
3552 shell : bash
3653 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
3754
38-
3955 - name : Set up JDK 17
4056 uses : actions/setup-java@v3
4157 with :
You can’t perform that action at this time.
0 commit comments