File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 22
22
description : " Perform Dry Run"
23
23
type : boolean
24
24
required : false
25
- default : false
25
+ default : true
26
+ pull_request :
27
+ types :
28
+ - opened
29
+ - reopened
30
+ - synchronize
26
31
27
32
env :
28
33
REGISTRY : ghcr.io
@@ -73,13 +78,17 @@ jobs:
73
78
GIT_AUTHOR_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
74
79
GIT_COMMITTER_NAME : ${{ secrets.GIT_USER_NAME }}
75
80
GIT_COMMITTER_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
76
- run : npx semantic-release --dry-run
81
+ run : |
82
+ npx semantic-release --dry-run
83
+ ls -al
84
+ cat VERSION
77
85
78
86
- name : Extract Version
79
87
id : tag
80
88
run : |
89
+ cat VERSION
81
90
[[ "${{ github.event.inputs.dry-run-enabled }}" == true && ! -f VERSION ]] && echo -n "0.0.0-latest" > VERSION
82
- echo "version=$(cat VERSION | tr -d '[:space:]')" >> ${GITHUB_OUTPUT}
91
+ echo "version=$(cat VERSION | tr -d '[:space:]')" | tee -a ${GITHUB_OUTPUT}
83
92
84
93
update-readme :
85
94
name : " Update README.md"
You can’t perform that action at this time.
0 commit comments