File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
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.
2
2
#
3
3
# SPDX-License-Identifier: Apache-2.0
4
+ on :
5
+ push :
6
+ branches :
7
+ - main
4
8
5
- name : Release Project
9
+ permissions :
10
+ contents : write
11
+ pull-requests : write
6
12
7
- on :
8
- release :
9
- types : [ released ]
13
+ name : release-please
10
14
11
15
jobs :
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 : maven
25
+ package-name : compas-scl-auto-alignment
26
+ # The logic below handles the docker hub publication:
12
27
push_to_registry :
28
+ needs : release_please
29
+ if : needs.release_please.outputs.release_created == "true"
13
30
name : Build and publish
14
31
runs-on : ubuntu-latest
32
+ timeout-minutes : 15
15
33
16
34
steps :
17
35
- name : Checkout
You can’t perform that action at this time.
0 commit comments